Getting started with Python: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Jesstess
No edit summary
imported>Jesstess
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Short url for this page: http://bit.ly/python-getting-started =
=== Goal #1: Install Python ===

= Picking a Python tutorial =

* If you have prior programming experience, we recommend going through [http://docs.python.org/tutorial/introduction.html the official python.org tutorial, starting here].
* If you have no prior programming experience, we recommend getting your feet wet with Python by completing the goals below, and then going through [http://openbookproject.net/thinkcs/python/english2e/ Think Python].


= Goal #1: Install Python =


This section has instructions for installing Python and running Python from a command prompt.
This section has instructions for installing Python and running Python from a command prompt.
Line 7: Line 15:
* [[Linux set up Python|Linux]]
* [[Linux set up Python|Linux]]


=== Goal #2: prepare a text editor ===
= Goal #2: prepare a text editor =


In addition to being able to run Python, we want to have good text editor for writing Python code. If you have a preferred text editor for writing code, feel free to skip this step!<br />
In addition to being able to run Python, we want to have good text editor for writing Python code. If you have a preferred text editor for writing code, feel free to skip this step!<br />
Line 15: Line 23:
* [[Linux text editor|Linux]]
* [[Linux text editor|Linux]]


=== Goal #3: practice starting and exiting Python ===
= Goal #3: practice starting and exiting Python =


Most tutorials will have you do a lot of learning and practicing at a Python prompt (this is "interactive" because you are typing the code and hitting enter to run it yourself, instead of running it from a file). So let's practice starting and exiting Python:
Most tutorials will have you do a lot of learning and practicing at a Python prompt (this is "interactive" because you are typing the code and hitting enter to run it yourself, instead of running it from a file). So let's practice starting and exiting Python:
Line 23: Line 31:
* [[Linux interactive Python|Linux]]
* [[Linux interactive Python|Linux]]


=== Goal #4: start learning Python! ===
= Goal #4: start learning Python! =


It's time to start learning, reading, and writing some Python! This material will position you well for working through a full-fledged tutorial.
It's time to start learning, reading, and writing some Python! This material will position you well for working through a full-fledged tutorial.

Latest revision as of 03:09, 2 March 2012

Short url for this page: http://bit.ly/python-getting-started

Picking a Python tutorial


Goal #1: Install Python

This section has instructions for installing Python and running Python from a command prompt.

Goal #2: prepare a text editor

In addition to being able to run Python, we want to have good text editor for writing Python code. If you have a preferred text editor for writing code, feel free to skip this step!

Goal #3: practice starting and exiting Python

Most tutorials will have you do a lot of learning and practicing at a Python prompt (this is "interactive" because you are typing the code and hitting enter to run it yourself, instead of running it from a file). So let's practice starting and exiting Python:

Goal #4: start learning Python!

It's time to start learning, reading, and writing some Python! This material will position you well for working through a full-fledged tutorial.

Click here to start the tutorial