#7653: clarify how the PythonPath registry key should look like.

This commit is contained in:
Georg Brandl 2010-01-07 21:48:47 +00:00
parent 54fd8ae0a3
commit 96aa3ca242
1 changed files with 7 additions and 6 deletions

View File

@ -168,12 +168,13 @@ separated by semicolons, though, to distinguish them from drive identifiers
.. ``
Modifying the module search path can also be done through the Windows registry:
Edit
:file:`HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\{version}\\PythonPath\\`,
as described above for the environment variable :envvar:`%PYTHONPATH%`. A
convenient registry editor is :program:`regedit` (start it by typing "regedit"
into :menuselection:`Start --> Run`).
Modifying the module search path can also be done through the Windows registry
under the key :file:`HKLM\\SOFTWARE\\Python\\PythonCore\\{version}\\PythonPath`.
Subkeys which have semicolon-delimited path strings as their default value will
cause each path to be searched. Multiple subkeys can be created and are
appended to the path in alphabetical order. A convenient registry editor is
:program:`regedit` (start it by typing "regedit" into :menuselection:`Start -->
Run`).
Executing scripts