Python Introduction Workshop

From Hackers & Designers
Revision as of 10:46, 28 January 2016 by JBG (talk | contribs)

What to talk about...

  • Variables (integers, arrays)
  • Conditionals (if/elif/else)
  • Loops (for, while)
  • Functions (def function_name(args):)


  • Exception handling? (try/catch)
  • File I/O...reading and writing from files:

f = open('handd-book.wiki', 'w') # write img_file = open(filename, 'wb') # i think append? f = open('handd-book.wiki', 'r') # read