Chris Withers wrote:
However, if I do:
~/folder$/usr/local/bin/python2.5 script
...sitecustomize.py IS imported!
However, the following doesn't import sitecustomize.py:
~/folder$ ./script
While the following DOES import sitecustomize.py:
~/folder$ export PYTHONPATH=
~/folder$ ./script
Bizarrely, none of the following import sitecustomize.py:
~$ export PYTHONPATH=~/folder
~$ ./script
~$ export PYTHONPATH=~/folder/
~$ ./script
~$ export PYTHONPATH=~/folder
~/folder$ ./script
~$ export PYTHONPATH=~/folder/
~/folder$ ./script
Does anyone have any clue why there's such a huge level of inconsistency
here?!
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python-list