Getting started with Python: Difference between revisions

Content added Content deleted
imported>Jesstess
imported>Jesstess
No edit summary
Line 3: Line 3:
= Tonight's event code: pp0208 =
= Tonight's event code: pp0208 =


== Picking a Python tutorial ==
= 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 prior programming experience, we recommend going through [http://docs.python.org/tutorial/introduction.html the official python.org tutorial, starting here].
Line 9: Line 9:




=== Goal #1: Install 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 17: Line 17:
* [[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 25: Line 25:
* [[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 33: Line 33:
* [[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.