Brett Cannon added the comment:

Glad it makes sense now. =) I was writing my reply while you sent yours.

Anyway, your PYTHONPATH setting goes on to sys.path *after* the directory 
containing the script being executed. This is so that when you execute Python 
code somewhere it will get the local modules and packages it expects and not 
some random one you accidentally masked using PYTHONPATH.


Python tracker <>
Python-bugs-list mailing list

Reply via email to