inconsistent sitecustomize.py importing...

C

Chris Withers

Hi All,

Give this sitecustomize.py:

print "ping"

....and this script:

#!/usr/local/bin/python2.5
print "pong!"

....both in ~/folder, I would expect the output from:

~$./folder/script

....to be:

ping
pong

....but sitecustomize.py is not imported :-(

If I do:

~$/usr/local/bin/python2.5 folder/script

....still no import.

However, if I do:

~/folder$/usr/local/bin/python2.5 script

....sitecustomize.py IS imported!

What gives?!

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top