Page 33 -
P. 33
the intro
The examples are as lean as possible.
Our readers tell us that it’s frustrating to wade through 200 lines of an example looking
for the two lines they need to understand. Most examples in this book are shown within
the smallest possible context, so that the part you’re trying to learn is clear and simple.
Don’t expect all of the examples to be robust, or even complete—they are written
specifically for learning, and aren’t always fully functional.
We’ve placed a lot of the code examples on the Web so you can copy and paste them as
needed. You’ll find them at two locations:
http://www.headfirstlabs.com/books/hfpython/
http://python.itcarlow.ie
The Brain Power exercises don’t have answers.
For some of them, there is no right answer, and for others, part of the learning
experience of the Brain Power activities is for you to decide if and when your answers
are right. In some of the Brain Power exercises, you will find hints to point you in the
right direction.
you are here 4 xxxi