Difference between revisions of "Python on Windows"

From OpenHatch wiki
Jump to navigation Jump to search
imported>Jesstess
(Created page with '== Install Python on Windows == <ol> <li>Go to http://python.org/download/ and download the latest version of Python 2.7 (2.7.1 at the time of writing). Unless you know otherwis…')
 
imported>Jesstess
Line 1: Line 1:
== Install Python on Windows ==
 
 
 
<ol>
 
<ol>
 
<li>Go to http://python.org/download/ and download the latest version of Python 2.7 (2.7.1 at the time of writing). Unless you know otherwise, get the "Windows Installer" version, and not the "Windows X86-64 Installer" version.</li>
 
<li>Go to http://python.org/download/ and download the latest version of Python 2.7 (2.7.1 at the time of writing). Unless you know otherwise, get the "Windows Installer" version, and not the "Windows X86-64 Installer" version.</li>

Revision as of 15:45, 4 March 2011

  1. Go to http://python.org/download/ and download the latest version of Python 2.7 (2.7.1 at the time of writing). Unless you know otherwise, get the "Windows Installer" version, and not the "Windows X86-64 Installer" version.
  2. Start up a command prompt by clicking on the Start menu, clicking the "Run..." option, typing "cmd", and hitting enter.
  3. Test your Python install at the command prompt using the "-V" version flag: \Python27\python.exe -V You should see something like
    Python 2.7.1 (r271:86832, ...) on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    
  4. To exit the Python prompt, type exit() and press Enter. This will take you back to the Windows command prompt.