Topic: Open Source

Beginning Python (0764596543) cover image

Beginning Python

Peter C. Norton, Alex Samuel, Dave Aitel, Eric Foster-Johnson, Leonard Richardson, Jason Diamond, Aleatha Parker, Michael Roberts
ISBN: 978-0-7645-9654-4
Paperback
696 pages
August 2005
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
6 Typo
python

should be:
Python
07/01/07
24 Error in Code/Text
The errata should be as follows:

"Therefore, the numbers 0 to 20 in decimal...."
if you add the number 14 in the sequence then this sentence will be true. So the number sequence for 0 to 20 in hex should be the following:

0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,10,11,12,13,14

and not:

0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,10,11,12,13
06/26/2006
31 Error in Code
Highlighted code, middle of page:
>>> print a[len(a) - 1]
3

Should read:
>>> print a[len(a) - 1]
third
8/24/05
4 45 Error in Code
">>> tuesday_breakfast_sold != thursday_breakfast_sold False"

two options for correction:
"False" should be "True" because the strings are different.

OR
the "!=" should be "==" and then the "False" is correct.
10/4/11
61 Error in Code/Text
Page 61, first printing:

At the bottom, in "Try It Out", the text sentence should end "ch5.py".

The snippet following, "def in_fridge:" should be part of the code example below it.
09/08/2006
315, 317, 321 Error in Code
... = MIMEImage(open(filename).read(), ...

Should be:
... = MIMEImage(file(filename, "rb").read() ...
09/18/07