Kaydet (Commit) 87983f24 authored tarafından Georg Brandl's avatar Georg Brandl

Add "Using Python on Windows" document, by Robert Lehmann.

Written for GHOP.
üst 39bd059e
.. _extending: .. _extending-distutils:
******************* *******************
Extending Distutils Extending Distutils
......
.. _mswin-specific-services:
**************************** ****************************
MS Windows Specific Services MS Windows Specific Services
......
.. highlightlang:: none .. highlightlang:: none
.. _using-on-general:
Command line and environment Command line and environment
============================ ============================
...@@ -12,6 +14,8 @@ settings. ...@@ -12,6 +14,8 @@ settings.
:ref:`implementations` for further resources. :ref:`implementations` for further resources.
.. _using-on-cmdline:
Command line Command line
------------ ------------
...@@ -304,39 +308,21 @@ Miscellaneous options ...@@ -304,39 +308,21 @@ Miscellaneous options
.. cmdoption:: -3 .. cmdoption:: -3
Warn about Python 3.x incompatibilities. Warn about Python 3.x incompatibilities. Among these are:
.. versionadded:: 2.6 * :meth:`dict.has_key`
* :func:`apply`
* :func:`callable`
* :func:`coerce`
* :func:`execfile`
* :func:`reduce`
* :func:`reload`
.. versionadded:: 2.6
Related files -- UNIX
---------------------
These are subject to difference depending on local installation conventions;
:envvar:`prefix` (``${prefix}``) and :envvar:`exec_prefix` (``${exec_prefix}``)
are installation-dependent and should be interpreted as for GNU software; they
may be the same.
For example, on most Linux systems, the default for both is :file:`/usr`.
+-----------------------------------------------+------------------------------------------+
| File/directory | Meaning |
+===============================================+==========================================+
| :file:`{exec_prefix}/bin/python` | Recommended location of the interpreter. |
+-----------------------------------------------+------------------------------------------+
| :file:`{prefix}/lib/python{version}`, | Recommended locations of the directories |
| :file:`{exec_prefix}/lib/python{version}` | containing the standard modules. |
+-----------------------------------------------+------------------------------------------+
| :file:`{prefix}/include/python{version}`, | Recommended locations of the directories |
| :file:`{exec_prefix}/include/python{version}` | containing the include files needed for |
| | developing Python extensions and |
| | embedding the interpreter. |
+-----------------------------------------------+------------------------------------------+
| :file:`~/.pythonrc.py` | User-specific initialization file loaded |
| | by the user module; not used by default |
| | or by most applications. |
+-----------------------------------------------+------------------------------------------+
.. _using-on-envvars:
Environment variables Environment variables
--------------------- ---------------------
......
...@@ -13,5 +13,6 @@ interpreter and things that make working with Python easier. ...@@ -13,5 +13,6 @@ interpreter and things that make working with Python easier.
.. toctree:: .. toctree::
cmdline.rst cmdline.rst
windows.rst
mac.rst mac.rst
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment