Foundations 2: Python
Session One: Introductions
Introductions
Introduction to This Class
Introduction to Your Environment
Setting Up Your Environment
Introduction to iPython
Basic Python Syntax
Homework
Session Two: Functions, Booleans and Modules
Review/Questions
Git Work
Quick Intro to Basics
Functions
In-Class Lab:
Boolean Expressions
In-Class Lab:
Code Structure, Modules, and Namespaces
In-Class Lab
Homework
Session Three: Sequences, Iteration and String Formatting
Review/Questions
Sequences
Lists, Tuples...
Mutability
Mutable Sequence Methods
Iteration
String Features
One Last Trick
Homework
Session Four: Dictionaries, Sets, Exceptions, and Files
Review/Questions
A little warm up
Dictionaries and Sets
Exceptions
File Reading and Writing
Paths and Directories
Homework
Session Five: Advanced Argument passing, List and Dict Comprehensions, Lambda and Functional programming
Review/Questions
Advanced Argument Passing
A bit more on mutability (and copies)
List and Dict Comprehensions
Anonymous functions
Functional Programming
Homework
Session Six: Object oriented programming: Classes, instances, attributes, and subclassing
Review/Questions
Object Oriented Programming
Python Classes
Subclassing/Inheritance
More on Subclassing
Session Seven: Testing, More OO
Review/Questions
Testing
More on Subclassing
Properties
Static and Class Methods
Special Methods
Homework
Session Eight: Generators, Iterators, Decorators, and Context Managers
Review/Questions
Decorators
Iterators and Generators
Context Managers
Homework
Homework Materials
Kata Fourteen: Tom Swift Under Milk Wood
HTML Renderer Homework Assignment
Supplemental Materials
Useful Python Learning Resources
Setting up your Mac for Python and this class
Setting up Windows for Python and this class
Setting up Linux for Python and this class
Working with Virtualenv
Turning Sublime Text Into a Lightweight Python IDE
Shell Customizations for Python Development
Unicode in Python 2
Foundations 2: Python
Docs
»
Homework Materials
View page source
Homework Materials
ΒΆ
Kata Fourteen: Tom Swift Under Milk Wood
HTML Renderer Homework Assignment