sys.path.insert - how to make it global?
Stefan Franke
spamfranke at bigfoot.de
Sat Apr 17 11:30:26 EDT 1999
On Fri, 16 Apr 1999 21:20:11 GMT, Randall Hopper <aa8vb at vislab.epa.gov> wrote:
> If I want to augment my Python module search path inside a Python
>script (so that it affects itself and imported modules), what's the best
>way to do this?
>
>Randall
sys.path *is* already global, though only accessible via the
sys module's namespace. Just give it a try.
Stefan
More information about the Python-list
mailing list