Anonymous user
O'Reilly Introduction to Python/Section 1/Windows set up Python: Difference between revisions
O'Reilly Introduction to Python/Section 1/Windows set up Python (view source)
Revision as of 02:14, 27 May 2014
, 9 years agono edit summary
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
[[File:Python-logo.png|300px]]
We are going to install Python version
If you already have Python installed, check the Python version: if the version
== Download and install Python ==
<ol>
<li>Click
<li><b>Open a terminal (we will be doing this multiple times, so make a note of how to do this!)</b>:
* On Windows Vista or Windows 7: click on the Start menu (the Windows logo in the lower left of the screen), type <code>cmd</code> into the Search field directly above the Start menu button, and click on "cmd" in the search results above the Search field.
Line 18:
<pre>
\
</pre>
and pressing Enter. You should see something like
<pre>
Python
Type "help", "copyright", "credits" or "license" for more information.
>>>
Line 42:
== Put Python on the PATH ==
You might have noticed that you typed a "full path" to the Python application above when launching Python (<code>python.exe</code> is the application, but we typed <code>\
=== Get to System Properties ===
Line 69:
# 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. The "Variable value" will already have some text in it; click in the box to unhighlight it (we don't want to accidentally delete that text).
# In the "Variable value" box, scroll to the end. Add the following text, and hit OK. Make sure to include the semicolon at the start! <pre>;c:\
# Press "OK" to close out the system properties window.
# Test your change:
Line 83:
[[File:Champagne.png|100px]][[File:Party.png|125px]]
[[
|