Python 101
log in to bookmark this presentaton
Abstract
Intended Audience
Software developers with experience in other languages who want a fast hands-on introduction to basic features of Python.
Tutorial Format
Hands-on with frequently alternating presentation of concepts and exercise sets. Each pair of concepts and exercises ranges in length from 5 to 15 minutes.
The tutorial will target Python 2.7, including features back-ported from Python 3, with explanations of differences from Python 3.
Attendee Requirements
Bring a laptop computer with Python 2.7 installed.
Prerequisites
At least beginning to intermediate ability in any programming language. Self-study before the tutorial will increase your learning, for example the Python website's tutorial at http://docs.python.org/tut/tut.html.
Course Outline
- Numbers and Operators
- Strings
- Introspection/Discovery
- Tuples and Lists
- Sets
- Dictionaries
- List Comprehensions
- Objects and Names
- Loops and Blocks
- Iterators
- Generator Expressions
- Functions
- Generators
- Namespaces
- Simple Classes
- Exceptions
Preview
I gave a similar tutorial at PyCon 2010 for which the video is available -- see http://us.pycon.org/2010/tutorials/williams_python101/
If you're not sure about signing up for this tutorial, take a look at the video to help you decide, or grab the handouts and watch that video instead of taking this tutorial.