sys.path

Volucris volucris at hotmail.com
Thu May 17 19:31:22 EDT 2001


"Faye Wu" <faye_wu2001 at yahoo.com> wrote in message
news:3B0440A6.ECE6A7B3 at yahoo.com...
> Hi, there,
>
> Does anybody tell me how to change the sys.path? I cannot find it
> anywhere in my computer. Thanks a lot.
>
> Faye

with regedit.exe go to:
   HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\PythonPath\
and add a key (e.g. ProjectFiles) with the value
of the path you want to add (e.g. C:\Projects\Python)
the name of the key (in this case ProjectFiles) doesn't matter,
just the value does.

greg






More information about the Python-list mailing list