Python path

ast nomail at invalid.com
Wed Mar 9 02:29:49 EST 2016


Hello

Python path may be read with:

>>> import sys
>>> sys.path

There is an environnement variable $PYTHONPATH (windows)
to set if you want to add some additionnal directories to the
path.

But the default path seems not to be stored in any environnement
variable. Is it correct ? Is it stored somewhere else ?

I have heard about *.pth files to store some directories to be added 
to path but I didn't found any such files on my system.



More information about the Python-list mailing list