Required step: Put Python on the PATH ==
You might have noticed that you typed a
directory name above when launching Python. In this step, you will reconfigure your computer to put Python on the system PATH so that you can run it without typing the ''Python27'' directory name.
'''This will take about 5 extra minutes''', and it is ''essential'' to an easy life using Python down the road.
=== 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.▼
#* Click the "Advanced" tab.
A window labeled "System Properties" will pop up.
# A window labeled "View basic information about your computer" should appear▼
* In this window, click "Advanced system settings"
#* A window should appear whose title is "System Properties".▼
==== If you're not
A window labeled "View basic information about your computer"
should appear whose
=== 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.
If you have some words listed in the "Variable value", then click in the box to unhighlight it . Make sure that the current path listed in the box is '''NOT''' highlighted!
# 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.
* Open up a <b>new</b> command prompt: you do this the same way you did above when installing python. This needs to be a <b>new </b> command prompt or you won't have the shorter paths available for your use!
* Type just "python " into the command prompt
* Notice that you now get a Python interpreter.
== Success! ==