Difference between revisions of "Python on Windows"

From OpenHatch wiki
Jump to navigation Jump to search
imported>Jesstess
imported>Jesstess
Line 18: Line 18:
  
 
and press Enter. This will take you back to the Windows command prompt.</li>
 
and press Enter. This will take you back to the Windows command prompt.</li>
 +
</ol>

Revision as of 15:46, 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.