Boston Python workshop 2/Saturday lecture: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Lecture outline == |
== Lecture outline == |
||
# |
# review printing and Python as a calculator from Friday evening |
||
# booleans and flow control: truthiness, if, equality and comparing, in |
|||
# Other useful data types: lists, dictionaries, and tuples |
|||
# lists |
|||
# |
# loops and more flow control: for, while, break, continue |
||
# Exceptions and debugging |
|||
# dictionaries |
|||
# Functions |
|||
# functions |
|||
# Classes |
|||
# |
# classes |
||
# modules |
|||
== Resources == |
== Resources == |
||
* [http://mit.edu/jesstess/www/ |
* [http://mit.edu/jesstess/www/BostonPythonWorkshop2/data_types.txt summary sheet] for Python data types. |
||
* [http://mit.edu/jesstess/www/ |
* [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.