Learning Python by Mark Lutz & David Ascher Following are the changes made in the 1/00 reprint: {108} Last paragraph, last sentence: "assigns toast and eggs" now reads: "assigns toast and ham" {148} Table 5-1, row 3, column 1: "from mod import" now reads "from mod import *" (added the star) (149) 1st line: "reads" now reads "opens" (153) end of comment in example in mid page: In "# self is the instance", last 2 letters no longer in bold type. (177) paragraph 2, sentence 2: "...in each class that it lists in its header line." now reads: "...for each class that includes Lister in its header line." {205} Code near end of "Why You Will Care" box: changed: def dostuff(); ... doLastThing(); to: def doStuff(): ... doLastThing() Last paragraph, 1st sentence: "there's no ned" now reads "there's no need" {220} Entry for "tuple(seq)" now reads "Returns the tuple version..." Example of ord(c) now shows ord('A') value as 65. {227} under "Regular Expressions:" "The character * means ..." now reads "The character + means ..." {234} os.path.walk('..', test_walk, 'show' now reads: os.path.walk('..', test_walk, 'show') {253} 2nd line from top: "output.py" now reads "output.txt" (257) 2nd paragraph from bottom, line 3: "are just as fast" now reads "are probably faster." (258) Last paragraph, 1st word: "Using" is now in normal font. {259} in example at top: os.system('/usr/bin/mail ... < %(tempfile)s' ... ) now reads: os.system('/usr/bin/mail ... < %(tempfilename)s' ... ) {261} Last paragraph, 2nd line from bottom: "text from the string str" now reads: "text from the StringIO object str" {278} code section for class FormData "def __init__(self, formdict)" now reads "def __init__(self, form)" {281} Deleted space between "FormData." and "__init__" in second text paragraph. {288} code near bottom: from tkinter import mainloop now reads: from Tkinter import mainloop {290} code at top: added line: self.listbox.bind('', self.select) after line 6. {292} beginning of last paragraph: "self-select" now reads "self.select" {293} extra paren in program code near top of page: string.replace(labelstr, '\r'), '') now reads: string.replace(labelstr, '\r', '') {296} 5th line of code: added a single quote before "This" (325) 1st paragraph, last line: "Conifg" now reads "Config" Last column of last row of table B-1: Changed the contact point for the maintainer of the Python port on VxWorks, Jeff Stearns, to read "mailto:jeffstearns@home.com" {352} end of solution 4: used to read: def word(self, index): return self.words[index] now reads: def word(self, index): return self.words[index] # properly indented! {356} solution #2: used to read: print "Got comment from %(name)s, skipping printing." % vars(data) now reads: print "Got comment from %(name)s, skipping printing." % \ vars(data) solution #3: used to read: # code from existing program, up to graphics.fillPolygon(xs, ys, len(xs)) now reads: (left aligned!) # code from existing program, up to graphics.fillPolygon(xs, ys, len(xs)) (365) index: Deleted the "sys.path dictionary" entry and added its page number (139) to the entry for "sys.path" immediately above.