Anonymous user
Boston Python Workshop 8/Friday/Windows set up Python: Difference between revisions
Boston Python Workshop 8/Friday/Windows set up Python (view source)
Revision as of 00:29, 12 July 2013
, 10 years agono edit summary
imported>Jesstess (Created page with "== Download and install Python == If you believe you already have Python installed, please let a staff member know before completing these steps. <ol> <li>Click http://pytho...") |
imported>Jesstess No edit summary |
||
Line 1:
[[File:Python-logo.png|300px]]
== Download and install Python ==▼
We are going to install Python version 2.7.5.
If you already have Python installed, check the Python version: if the version is between Python 2.5 and Python 2.7, you can use it for this class and can skip to [[Windows_set_up_Python#Put_Python_on_the_PATH|setting your Path]].
If you need help or have questions during installation, [[Skillshare intro to Python/Asking questions| don't hesitate to ask]]!
▲== Download and install Python ==
<ol>
<li>Click http://python.org/ftp/python/2.7.
<li><b>Open a
* 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.
* 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.
<br />
You
</li>
<li>At this <code>C:\</code> prompt that appears, test your Python
<pre>
Line 17 ⟶ 23:
</pre>
and
<pre>
Python 2.7.
Type "help", "copyright", "credits" or "license" for more information.
>>>
</pre>
You just started Python! The <code>>>></code> indicates that you are at a new type of prompt -- a Python prompt. The
</li>
Line 66 ⟶ 72:
#* 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:\python27\;c:\python27\scripts</pre>
#
# Test your change:
## 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 new command prompt because the changes you just made didn't take affect in prompts that were already open.
Line 76 ⟶ 82:
You have Python installed and configured.
[[File:Champagne.png|100px]][[File:Party.png|125px]]
[[Boston Python Workshop 8/Friday|« Back to the Friday setup page]]
|