Boston Python Workshop/Saturday/Lecture material: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
imported>Paulproteus m (moved Boston Python workshop/Saturday/Lecture material to Boston Python Workshop/Saturday/Lecture material: Proper nouns, all the way) |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
# Modules: importing modules, __name__ == "__main__" |
# Modules: importing modules, __name__ == "__main__" |
||
[http://mit.edu/jesstess/www/BostonPythonWorkshop/ Download or browse] the workshop exercises. |
* [http://mit.edu/jesstess/www/BostonPythonWorkshop/ Download or browse] the workshop exercises. |
||
* [http://mit.edu/jesstess/www/BostonPythonWorkshop/data_types.txt summary sheet] for Python data types. |
|||
For extra material, see Python's [http://docs.python.org/tutorial/ official tutorial]. |
For extra material, see Python's [http://docs.python.org/tutorial/ official tutorial]. |
Latest revision as of 20:21, 14 June 2011
On Saturday morning, we'll work through an introduction to the Python programming language. We'll cover the topics below interactively, by experimenting together at a Python prompt and reading and modifying example scripts that demonstrate these concepts. The afternoon projects will be another great way to practice.
- Basic data types: numbers, strings, lists, dicts, and sets
- Printing and comment characters
- Flow control: if, for, while, break, continue
- Functions
- Error handling
- I/O: raw_input, file I/O, sys.argv
- Classes: classes, self, inheritance
- Modules: importing modules, __name__ == "__main__"
- Download or browse the workshop exercises.
- summary sheet for Python data types.
For extra material, see Python's official tutorial.