Boston Python Workshop/Saturday/Lecture material

From OpenHatch wiki
< Boston Python Workshop
Revision as of 17:19, 4 March 2011 by imported>Jesstess (Created page with '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 prom…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

  1. Basic data types: numbers, strings, lists, dicts, and sets
  2. Printing and comment characters
  3. Flow control: if, for, while, break, continue
  4. Functions
  5. Error handling
  6. I/O: raw_input, file I/O, sys.argv
  7. Classes: classes, self, inheritance
  8. Modules: importing modules, __name__ == "__main__"