Python on Windows: Difference between revisions
no edit summary
No edit summary
No edit summary
|(3 intermediate revisions by the same user not shown)|
== Download and install Python ==
* On Windows XP: click on the Start menu (the Windows logo in the lower left of the screen), click on "Run...", type <code>cmd</code> into the text box, and hit enter.
You now have a command prompt. This command prompt is another way of navigating your computer and running programs -- just textually instead of graphically. We are going to be running Python and Python scripts from this command prompt.
<li>At this <code>C:\</code> prompt that appears, test your Python install by typing
You might have noticed that you typed a
=== 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).
# ''Right-click'' on the empty space in the window, and choose ''Properties''
==== If you're using XP ====
# A window labeled "System Properties" will pop up.▼
==== If you're not ====▼
# A window labeled "View basic information about your computer" should appear▼
#* A window should appear whose title is "System Properties".▼
▲==== If you're not ====
=== Edit the Path ===
# Within System Properties, make sure you are in the tab labeled "Advanced".
# Click the button labeled "Environment Variables".
#* A window labeled "Environment Variables"
# 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
# Hit "OK" to close out the system properties changes.
== Success! ==
You have Python installed.
[[Boston Python workshop 2/Friday setup|« Back to the Friday setup page]]