Last night, while researching a different problem, I ran across the usage of 'import' within ".pth" to run arbitrary code as the Python environment is being initialized. I believe that this provides an alternative to using PYTHONPATH and possibly some of the other environment variables via "~/.MacOSX/environment.plist". Is this correct? If so, I will document it as such in the wiki. Thanks for your help.

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to