FAQ

Peter wrote:
<newbie question>
How can I edit the default import path for Python under Windows?

I want to use the piddle module. So far, I've copied the unzipped contents
of the zip file to c:\prog~1\python\lib\site-packages, but how do I set it
so this is automatically on the python path?

(I don't want to have to manually add that directory every time.)
Hi,

I added this key in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.2\PythonPath\Some_name

and I set the default value for this key to the new Path

Have a nice day
Fabien

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJul 28, '03 at 6:29a
activeJul 29, '03 at 8:22a
posts5
users3
websitepython.org

3 users in discussion

Peter: 3 posts Fabien SK: 1 post GerritM: 1 post

People

Translate

site design / logo © 2022 Grokbase