RE: Python optimization (was Python's "only one way to do it"philosophy isn't good?)
> Is anyone out there who uses MS Word and doesn't deactivate > the "suggest" mode i.e. Clippy? Me... I don't install Clippy (or any of his horribly annoying friends) to start with. :) On the topic though, the suggest mode of the MS help system is generally way off-base, even for my 80-yr-old grandmother's needs. -- http://mail.python.org/mailman/listinfo/python-list
RE: Are there any python jobs worked at home from the internet?
> I know of http://www.rentacoder.com/ but I've never actually used it. http://www.guru.com and http://www.getafreelancer.com are also good sites (in fact I got my current employment starting off as a contractor on guru.com) There are others, but these are the three I've worked with and felt comfortable working with. Hope this helps. -Doug -- http://mail.python.org/mailman/listinfo/python-list
RE: Database Access using pyodbc. I've a problem
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Rajendran > Sent: Sunday, June 17, 2007 3:06 AM > To: [email protected] > Subject: Re: Database Access using pyodbc. I've a problem > > Hi Robert, > Thanks for your response. > The problem I've mentioned comes up only with the Python but not with > the PHP. Is it because PHP has been integrated with Apache and Python > isn't? I mean, we have included these > > # For PHP 5 do something like this: > LoadModule php5_module "c:/php/php5apache2_2.dll" > AddType application/x-httpd-php .php > > # configure the path to php.ini > PHPIniDir "C:/php" > > > lines in the httpd.conf for Apache to understand PHP and no > corresponding lines for Python? > > Does this make Apache to run PHP with the permissions same as user? There are two user execution settings in Apache. The first (User) tells Apache which user to run as. The second (SuExec User) tells Apache which user to run CGI files as. These can (and should) be handled differently in a production system. I'm not familiar with how apache handles these functions in a Windows environment, but the references in a prior answer to this thread should help you out. -Doug -- http://mail.python.org/mailman/listinfo/python-list
RE: installing cx_Oracle.
> It also works the other way around, at least on the non-empty > set of systems that contains my workstation. export simply > marks the variable name for automatic export to the > environment of subsequent commands. The value at that time > doesn't matter. What matters is the value that the name has > at the time the command is run: > > [EMAIL PROTECTED] ~]$ export FOOD > [EMAIL PROTECTED] ~]$ FOOD=spam > [EMAIL PROTECTED] ~]$ python -c "import os; print os.environ['FOOD']" > spam > [EMAIL PROTECTED] ~]$ FOOD=eggs > [EMAIL PROTECTED] ~]$ python -c "import os; print os.environ['FOOD']" > eggs Just tried on a FreeBSD 6.1 development box with stock /bin/sh and it works there too... ... And I just learned something new! -Doug -- http://mail.python.org/mailman/listinfo/python-list
