[Python-checkins] r77360 - python/trunk/Doc/using/windows.rst

georg.brandl python-checkins at python.org
Thu Jan 7 22:48:47 CET 2010


Author: georg.brandl
Date: Thu Jan  7 22:48:47 2010
New Revision: 77360

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

Modified:
   python/trunk/Doc/using/windows.rst

Modified: python/trunk/Doc/using/windows.rst
==============================================================================
--- python/trunk/Doc/using/windows.rst	(original)
+++ python/trunk/Doc/using/windows.rst	Thu Jan  7 22:48:47 2010
@@ -168,12 +168,13 @@
 
 .. ``
 
-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


More information about the Python-checkins mailing list