Editing Windows interactive Python
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<ol> | <ol> | ||
<li>Open a command prompt:<br /> | <li>Open a command prompt:<br /> | ||
* On Windows | * 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 | * 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. | ||
<li>To start Python, type <pre>python</pre> at the command prompt and hit enter. You should see something like | <li>To start Python, type <pre>python</pre> at the command prompt and hit enter. You should see something like | ||
<pre> | <pre> | ||
Python | Python 2.7.1 (r271:86832, ...) on win32 | ||
Type "help", "copyright", "credits" or "license" for more information. | Type "help", "copyright", "credits" or "license" for more information. | ||
>>> | >>> | ||
Line 20: | Line 20: | ||
Practice these steps until you feel comfortable navigating to a command prompt, starting Python, and exiting Python. | Practice these steps until you feel comfortable navigating to a command prompt, starting Python, and exiting Python. | ||