sys.path and the Windows registry
Owen F. Ransen
ransen_spam_me_not at nemo.it
Sat Feb 17 12:42:02 EST 2001
Thanks Mark!
On Fri, 16 Feb 2001 23:53:46 GMT, Mark Hammond <MarkH at ActiveState.com>
wrote:
>Owen F. Ransen wrote:
>
>> I'm just starting out with Python and have some simple
>> modules in a directoryb which is not on the sys.path.
>>
>> I hoped that if I edited the registry and added my new
>> extra source file path I'd then see the new files in the
>> path browser (GUI Python 2).
>>
>> I can't though, what am I missing?
>
>Create a new _subkey_ under the main PythonPath entry, calling it anything you like. Add your new path as the default value for this new key.
>
>The main PythonPath entry is reserved for the Python core, and it may choose to ignore it if it can find its own core.
>
>Mark.
--
Owen F. Ransen
http://www.ransen.com/
Home of Gliftic & Repligator Image Generators
More information about the Python-list
mailing list