Learning Python

by Mark Lutz & David Ascher

This book is another excellent O'Reilly computer book. Aimed at the newcomer to Python, Learning Python steps very smoothly through all concepts required to begin programming in Python quickly. It is one of the best books around for learning Python programming. The exercises are really aimed at proficiency in Python syntax and understanding the default available classes/objects such as tuples, dictionaries, lists, etc. rather than developing extensive programs. They teach Python syntax and available class methods on the standard python objects. Below I've included the problems, thus far, I've had time to work.

Note that some of the code (below) is structured to execute as a stand alone script while others are designed to be executed as a module. This means to run the modules from the shell type "python module.py" at the prompt.

My implementation of some of the problems:

John Weatherwax