Fast Track to Python - Session 3


Details
Space is limited for Session 3
We only got the 2nd floor community room this week, so it'll be a little tighter squeeze. If we run out of room, there will be overflow seating in Synapp.io's offices by the elevators, or you can join us online at https://plus.google.com/u/1/events/celar2u7klnr6vgo575t3vtopg0
Prerequisites
Experience in some other programming language, Python experience not required. If you want to follow along with the exercises, bring along a laptop.
Description
This 5 session class introduces you to the Python programming language, quickly introducing you to the main points of the language and moving on to advanced Python constructs and some of the most important libraries.
In this class you’ll learn
• Basic Python syntax
• Modularity in Python
• Basic text processing
• Python support for object-oriented programming
• Python support for resource management and iteration
• Packaging your code for reuse and distribution
• Concurrent programming
• Network and web programming
• Python unit testing
Session 3: More Advanced Python Syntax and Packaging
Lecture 9: Generators and iterators
Exercise 9: Generators and iterators
Exercise 9.1: iter(), iter, and next()
Exercise 9.2: the yield statement
Exercise 9.3: generator expressions
Lecture 10: Context managers
Exercise 10: Context managers
Exercise 10.1: The ‘with’ statement
Exercise 10.2: contextlib.closing
Exercise 10.3: enter and exit
Exercise 10.4: Using contextlib.contextmanager
Lecture 11: Packaging with Setuptools/Distribute
Exercise 11: Packaging your code
Exercise 11.1: Creating a project structure
Exercise 11.2: Uploading packages to PyPI
Exercise 11.3: Using entry points to make your package discoverable
Exercise 11.4: Customizing your package with scripts & data
Lecture 12: Virtual environments
Exercise 12: Virtual environments
Exercise 12.1: Installing virtualenv
Exercise 12.2: Using pip install, pip uninstall
Exercise 12.3: Distributing your own code
Exercise 12.4: Exploring the python package index

Fast Track to Python - Session 3