Python on Windows: Difference between revisions

no edit summary
imported>Paulproteus
No edit summary
imported>Adamf
No edit summary
<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>Start up a command prompt by clicking on the Start menu (or the Windows logo in the lower-left hand corner), clicking the "Run..." option, typing "cmd", and hitting enter. If you are using Windows Vista or Windows 7, you should click on the Start menu, type "cmd" into the Search field directly above the Start menu button, and click on "cmd" in the search results above the Search field.</li>
<li>TestAt the c:\ prompt that appears, test your Python install by typing
 
<pre>
exit()
 
and press Enter. This will take you back to the Windows command prompt (the c:\ you saw earlier).</li>
</ol>
 
=== Get to System Properties ===
 
# Open up "My Computer" by clicking on the Start menu or the Windows logo in the lower-left hand corner, and navigate to "My Computer" (for Windows XP) or "Computer" (For Vista and Windows 7).
# Open up "My Computer"
# ''Right-click'' on the empty space in the window, and choose ''Properties'
#* A window labeled "View basic information about your computer" should appear
# In this window, the screen is split between "User variables" and "System variables". Within "System variables", scroll down and find the one labeled '''Path'''. Click the "Edit..." button.
#* A window with the "Variable name" and the "Variable value" should appear.
# In the "Variable value", scroll to the end. Add this text, and hit OK. Make sure to include the semicolon at the start! <pre>;c:/\python27/\;c:/\python27/\scripts</pre>
# Hit "OK" to close out the system properties changes.
# Test it:
Anonymous user