Adding Directory to PYTHONPATH

mike at pl.net mike at pl.net
Sun Jun 11 23:25:47 EDT 2000


Hi All !
Probably been asked before but how do you add a new library module
directory to PYTHONPATH?

I know you can do it dynamically in Python, but in this case I need to
have a particular module directory available everytime that Python is
loaded.

I tried including a .pth file but can't see the new directory when I
print sys.path

Grateful for any pointers
Best regards
Aren't we lucky for having Python!
Mike


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list