default import path
Peter
nospamjynyl at yahoo.co.nz
Mon Jul 28 14:06:30 EDT 2003
this quote is from Fabien SK of Mon, 28 Jul 2003 20:59 :
> Peter wrote:
>> <newbie question>
>> How can I edit the default import path for Python under Windows?
>
> I added this key in the registry:
> HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.2\PythonPath\Some_name
Thanks,
seems rather un-python-like to have to do this via an edit to the registry.
I'm comfortable editing config on my Linux PC, but I'd rather not mess with
the registry as Windows is too frail (and it is a friend's PC).
Maybe, it would be better to use a addpath statement in each python script
where I want to use this module.
thanks for you help
Peter
More information about the Python-list
mailing list