+= doesn't work in python cgi's

Paul Rubin phr-n2001d at nightsong.com
Mon Oct 8 06:34:31 EDT 2001


Your web server is running under a different user or something, so it
gets a different PATH than your command line.  That's making it run
Python 1.5 which doesn't support +=.  Change /usr/bin/env python
to wherever your Python 2.x executable is, e.g. 
/usr/local/bin/python.




More information about the Python-list mailing list