mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
#7653: clarify how the PythonPath registry key should look like.
This commit is contained in:
parent
54fd8ae0a3
commit
96aa3ca242
1 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue