[Python-ideas] Why is there no way to pass PYTHONPATH on the command line?

Gerald Britton gerald.britton at gmail.com
Wed Sep 19 18:36:10 CEST 2012

FYI This works in Windows:

C:\Python26>set PYTHONPATH=c:\temp & python
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', 'c:\\temp', 'C:\\WINDOWS\\system32\\python26.zip',
'C:\\Python26\\DLLs', 'C
:\\Python26\\lib', 'C:\\Python26\\lib\\plat-win',
'C:\\Python26\\lib\\lib-tk', '
C:\\Python26', 'C:\\Python26\\lib\\site-packages',

Gerald Britton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120919/d19a52ec/attachment.html>

More information about the Python-ideas mailing list