mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
backslashes escaping windows directories
This commit is contained in:
@@ -13,7 +13,7 @@ double-click the file. The MSI package format allows Windows administrators to
|
||||
automate installation with their standard tools.
|
||||
|
||||
By design, Python installs to a directory with the version number embedded,
|
||||
e.g. Python version 2.7 will install at :file:`C:\Python27\`, so that you can
|
||||
e.g. Python version 2.7 will install at :file:`C:\\Python27\\`, so that you can
|
||||
have multiple versions of Python on the
|
||||
same system without conflicts. Of course, only one interpreter can be the
|
||||
default application for Python file types. It also does not automatically
|
||||
@@ -22,7 +22,7 @@ which copy of Python is run.
|
||||
|
||||
Typing the full path name for a Python interpreter each time quickly gets
|
||||
tedious, so add the directories for your default Python version to the :envvar:`PATH`.
|
||||
Assuming that your Python installation is in :file:`C:\Python27\`, add this to your
|
||||
Assuming that your Python installation is in :file:`C:\\Python27\\`, add this to your
|
||||
:envvar:`PATH`:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
Reference in New Issue
Block a user