• Home
  • Raw
  • Download

Lines Matching full:python

6  Using Python on Windows
12 know about when using Python on Microsoft Windows.
15 Installing Python
18 Unlike most Unix systems and services, Windows does not require Python natively
19 and thus does not pre-install a version of Python. However, the CPython team
21 <https://www.python.org/download/releases/>`_ for many years.
23 With ongoing development of Python, some platforms that used to be supported
27 * DOS and Windows 3.x are deprecated since Python 2.0 and code specific to these
28 systems was removed in Python 2.1.
29 * Up to 2.5, Python was still compatible with Windows 95, 98 and ME (but already
30 raised a deprecation warning on installation). For Python 2.6 (and all
34 * The `Cygwin <https://cygwin.com/>`_ installer offers to install the Python
37 release/python>`_, `Maintainer releases
38 <http://www.tishler.net/jason/software/python/>`_)
40 See `Python for Windows (and DOS) <https://www.python.org/download/windows/>`_
45 `Python on XP <http://dooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/>`_
50 in "`Dive into Python: Python from novice to pro
55 `For Windows users <http://python.swaroopch.com/installation.html#installation-on-windows>`_
56 in "Installing Python"
57 in "`A Byte of Python <http://python.swaroopch.com/>`_"
71 `Enthought Python Distribution <https://www.enthought.com/products/epd/>`_
73 suite for building extensible Python applications
75 Notice that these packages are likely to install *older* versions of Python.
79 Configuring Python
82 In order to run Python flawlessly, you might have to change certain environment
136 Finding the Python executable
139 Besides using the automatically created start menu entry for the Python
140 interpreter, you might want to start Python in the DOS prompt. To make this
142 directory of your Python distribution, delimited by a semicolon from other
148 Typing :command:`python` on your command prompt will now fire up the Python
156 Python usually stores its library (and thereby your site-packages folder) in the
157 installation directory. So, if you had installed Python to
158 :file:`C:\\Python\\`, the default library would reside in
159 :file:`C:\\Python\\Lib\\` and third-party modules should be stored in
160 :file:`C:\\Python\\Lib\\site-packages\\`.
173 :samp:`\\SOFTWARE\\Python\\PythonCore\\{version}\\PythonPath` under both the
180 "Python Home". Otherwise, the path of the main Python executable is used to
181 locate a "landmark file" (``Lib\os.py``) to deduce the "Python Home". If a
182 Python home is found, the relevant sub-directories added to :data:`sys.path`
184 Python path is constructed from the PythonPath stored in the registry.
186 * If the Python Home cannot be located, no :envvar:`PYTHONPATH` is specified in
192 * When running :file:`python.exe`, or any other .exe in the main Python
197 * When Python is hosted in another .exe (different directory, embedded via COM,
198 etc), the "Python Home" will not be deduced, so the core path from the
201 * If Python can't find its home and there is no registry (eg, frozen .exe, some
209 Python scripts (files with the extension ``.py``) will be executed by
210 :program:`python.exe` by default. This executable opens a terminal, which stays
214 of your Python installation directory). This suppresses the terminal window on
224 assoc .py=Python.File
226 #. Redirect all Python files to the new executable::
228 ftype Python.File=C:\Path\to\pythonw.exe "%1" %*
234 Even though Python aims to be portable among all platforms, there are features
245 The `PyWin32 <https://pypi.python.org/pypi/pywin32>`_ module by Mark Hammond
257 https://www.python.org/windows/pythonwin/>`_ is a sample MFC application
262 `Win32 How Do I...? <http://timgolden.me.uk/python/win32_how_do_i.html>`_
265 `Python and COM <http://www.boddie.org.uk/python/COM.html>`_
273 :ref:`extending-distutils`) which wraps Python scripts into executable Windows
275 your application without requiring your users to install Python.
281 Since Python's advanced terminal handling layer, :mod:`curses`, is restricted to
283 Console I/O for Python.
290 Compiling Python on Windows
294 `source <https://www.python.org/downloads/source/>`_. You can download either the
296 <https://docs.python.org/devguide/setup.html#getting-the-source-code>`_.
298 For Microsoft Visual C++, which is the compiler with which official Python
325 `Python + Windows + distutils + SWIG + gcc MinGW <http://sebsauvage.net/python/mingw.html>`_
326 or "Creating Python extensions in C/C++ with SWIG and compiling them with
327 MinGW gcc under Windows" or "Installing Python extension with distutils
330 `MingW -- Python extensions <http://oldwiki.mingw.org/index.php/Python%20extensions>`_
339 `Python Programming On Win32 <http://shop.oreilly.com/product/9781565926219.do>`_
344 `A Python for Windows Tutorial <http://www.imladris.com/Scripts/PythonForWindows.html>`_