Wiley.com
Print this page Share

Beginning Python: Using Python 2.6 and Python 3.1

ISBN: 978-0-470-41463-7
Paperback
624 pages
February 2010
List Price: US $39.99
Government Price: US $21.42
Enter Quantity:   Buy
Beginning Python: Using Python 2.6 and Python 3.1 (0470414634) cover image
This is a Print-on-Demand title. It will be printed specifically to fill your order. Please allow an additional 10-15 days delivery time. The book is not returnable.

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 Error in Code
Current syntax:
raise TypeError, "add_one requires a string, given a %s" % type (food_name)

Correct syntax:
raise TypeError( "add_one requires a string, given a %s" % type (food_name) )
05/28/2010
11 Error in Text
In the Try It Out section, under the 2nd code example (under header ?You could also just skip??):

"John" "Everyman"
should be:
'JohnEveryman'
not:
JohnEveryman
05/02/2011
12 Error in Code
In the code under ?Joining Strings with the Print() Function?

The ?p? in Print(?John??) function should be lower case? print(?John??).
05/02/2011
14 Error in Text
Exercise in ch 1 N0 1 says to type, "rock a by...."

It should say ?print? in front of ?rock??
10/20/2010
23 Error in Code
Under?some surprises? heading:

Update for Python 3.1.3 windows installation:
For >>>4023 - 22.4
Answer should be: 4000.6
not: 4000.5999999999999
05/02/2011
27 Error in Text
"It may seem like a mistake that the second number printed is 12 when you ? ve provided the string with a 10. However, octal only has 8 numbers (0 to 7), so from 0 to 10 in octal is 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11."

When using the octal counting system you do not actually count the '8' aswell. So one should count as followed: 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 12
08/27/2010
40 Error in Code
There is a typo in the code.

menu_specials.value()

should be:

menu_specials.values()
07/15/2010

Related Titles

General Programming & Software Development

by John Hebeler, Matthew Fisher, Ryan Blace, Andrew Perez-Lopez, Mike Dean (Foreword by)
by Simone Chiaretta, Keyvan Nayyeri
Back to Top