Skillshare intro to Python/Unit 1/Windows set up Python: Difference between revisions

m
Changed protection level for "Skillshare intro to Python/Unit 1/Windows set up Python" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading]
imported>Jesstess
No edit summary
imported>Jesstess
m (Changed protection level for "Skillshare intro to Python/Unit 1/Windows set up Python" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
 
(8 intermediate revisions by the same user not shown)
Line 1:
[[File:Python-logo.png|300px]]
 
We are going to install Python version 2.7.5.
 
If you already have Python installed, check the Python version: itif needs to be athe 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 ==
Line 11 ⟶ 15:
* 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 now have what's calledstarted a <b>terminal prompt</b>. This terminal 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 terminal prompt.
</li>
<li>At this <code>C:\</code> prompt that appears, test your Python installinstallation by typing:
 
<pre>
Line 26 ⟶ 30:
</pre>
 
You just started Python! The <code>>>></code> indicates that you are at a new type of prompt -- a Python prompt. The commandterminal prompt lets you navigate your computer and run programs, and the Python prompt lets you write and run Python code interactively.
 
</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>
# HitPress "OK" to close out the system properties window.
# 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|&laquo; Back to the Unit 1 main page]]
Anonymous user