Appending Python path (v. 1.6)

Jon Cosby jcosby at wolfenet.com
Wed Sep 13 21:37:20 EDT 2000


I'm trying to add a directory to the Python module path. I don't want to go
the sys.path.append route every session, and I don't want to edit my
existing modules if I can help it. In Python 1.5, this was done by adding
the directory to PythonPath in the Registry editor (I'm running Windows 98).
This doesn't do it in 1.6. sys.path isn't showing the added directory, and
I'm unable to import modules from that path. Can anybody help?

Jon Cosby





More information about the Python-list mailing list