]> granicus.if.org Git - python/commitdiff
#7653: clarify how the PythonPath registry key should look like.
authorGeorg Brandl <georg@python.org>
Thu, 7 Jan 2010 21:48:47 +0000 (21:48 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 7 Jan 2010 21:48:47 +0000 (21:48 +0000)
Doc/using/windows.rst

index f5235f19be51ebc16a9eb44ba3d4ab2beeec0bf2..52349d78b4f4a2401ea208d68494106c292136b4 100644 (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