Boston Python workshop 2/Saturday lecture: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
# review printing and Python as a calculator from Friday evening |
# review printing and Python as a calculator from Friday evening |
||
# |
# booleans and flow control: truthiness, if, equality and comparing, in |
||
# lists |
# lists |
||
# loops and flow control: for, while, break, continue |
# loops and more flow control: for, while, break, continue |
||
# dictionaries |
# dictionaries |
||
# functions |
# functions |
||
# classes |
# classes |
||
Line 16: | Line 16: | ||
* [http://mit.edu/jesstess/www/BostonPythonWorkshop2/data_types.txt summary sheet] for Python data types. |
* [http://mit.edu/jesstess/www/BostonPythonWorkshop2/data_types.txt summary sheet] for Python data types. |
||
* [http://mit.edu/jesstess/www/BostonPythonWorkshop2/SaturdayExercises hands-on exercises] to practice Python. |
* [http://mit.edu/jesstess/www/BostonPythonWorkshop2/SaturdayExercises hands-on exercises] to practice Python. |
||
* A Python script explaining [[Boston_Python_workshop_2/Python_classes | Python classes]]. |
|||
* A [[BPWGlossary|glossary]] of terms used during the lecture. |
|||
For extra practice, see Python's [http://docs.python.org/tutorial/ official tutorial]. |
For extra practice, see Python's [http://docs.python.org/tutorial/ official tutorial]. |
Latest revision as of 20:24, 18 May 2011
Welcome to the Saturday lecture section of the Boston Python Workshop! For about 2 hours, we'll work through an introduction to the Python programming language via both a lecture and hand-on exercises.
Lecture outline
- review printing and Python as a calculator from Friday evening
- booleans and flow control: truthiness, if, equality and comparing, in
- lists
- loops and more flow control: for, while, break, continue
- dictionaries
- functions
- classes
- modules
Resources
- summary sheet for Python data types.
- hands-on exercises to practice Python.
- A Python script explaining Python classes.
For extra practice, see Python's official tutorial.