Stow and Python

Hamish Lawson hamish_lawson at yahoo.co.uk
Wed Oct 2 05:36:53 EDT 2002


Jason Petrone wrote:

> If you just want to add some extra location to the default module path, you
> can also add os.path.append('/tools/bar/') to site.py in the python lib
> directory. 

Or if you prefer not to modify your Python distribution's files, do
the sys.path.append('/tools/bar/') in
lib/site-packages/sitecustomize.py (create if necessary).


Hamish Lawson



More information about the Python-list mailing list