Location of Python modules

Fredrik Lundh fredrik at pythonware.com
Tue Feb 14 14:17:28 EST 2006


Byte wrote:

> >if it is in the sys.path
>
> sys.path, what is this?

a variable in the sys module.  quoting from a reply that you might have
missed:

$ python -c "import sys; print sys.path"
['', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2',
'/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload',
'/usr/local/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages', ...

</F>






More information about the Python-list mailing list