Class Outline: Code Like a Pythonista: Idiomatic Python
The tutorial will be interactive, with lots of short examples that
attendees can try out on the fly. I will take questions throughout
the tutorial.
- Introduction: Zen of Python
- Coding style
- Idiom potpourri: Strings, dictionaries, booleans, sequences, etc.
- Advanced string formatting with "%"
- List comprehensions & generator expressions
- Sorting, decorate-sort-undecorate
- Generators: simplify sequence/iterator handling
- EAFP vs. LBYL
- Scripts & modules
- Packages
- Q&A