Boston Python Workshop 3/Saturday lecture: Difference between revisions
Content added Content deleted
imported>Jesstess |
imported>Jesstess m (Protected "Boston Python Workshop 3/Saturday lecture" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 9: | Line 9: | ||
# dictionaries |
# dictionaries |
||
# functions |
# functions |
||
# classes |
|||
# modules |
# modules |
||
Line 15: | Line 14: | ||
* [[Boston Python Workshop 3/Data types| cheat sheet]] for Python data types. |
* [[Boston Python Workshop 3/Data types| cheat sheet]] for Python data types. |
||
* [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 Python script explaining [[Boston_Python_workshop_2/Python_classes | Python classes]]. |
||
Latest revision as of 13:13, 24 September 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
- modules
Resources
- cheat sheet for Python data types.
- A Python script explaining Python classes.
For extra practice, see Python's official tutorial.