Adding Directory to PYTHONPATH

Courageous jkraska1 at san.rr.com
Mon Jun 12 02:36:30 EDT 2000


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

Eh? You put the .dll/.so in a directory specified by the python
path. Either that, or you change the python path. How you change
this variable will depend on the environment you're running on.

> 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'm confused. Are you attempting to add things to the search
directory of a *running* python?


C/



More information about the Python-list mailing list