Anonymous user
Skillshare intro to Python/Unit 1/Windows set up Python: Difference between revisions
Skillshare intro to Python/Unit 1/Windows set up Python (view source)
Revision as of 00:32, 13 June 2013
, 10 years agoChanged protection level for "Skillshare intro to Python/Unit 1/Windows set up Python" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]
imported>Jesstess |
imported>Jesstess m (Changed protection level for "Skillshare intro to Python/Unit 1/Windows set up Python" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
||
(9 intermediate revisions by the same user not shown) | |||
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 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.5/python-2.7.5.msi and choose "run" if you have the option to. Otherwise, save it to your Desktop, then minimize windows to see your desktop, and double click on it to start the installer. Follow the installer instructions to completion.</li>
<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 19 ⟶ 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 68 ⟶ 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 78 ⟶ 82:
You have Python installed and configured.
[[File:Champagne.png|100px]][[File:Party.png|125px]]
[[Skillshare intro to Python/Unit 1|« Back to the Unit 1 main page]]
|