Mysterious "Attribute Errors" when GUI Programming

Robert Kern rkern at
Wed Mar 9 08:42:49 CET 2005

Coral Snake wrote:

> Thank you all. It appears that I was right in my original opinion of
> source code from the Python Developer's Handbook by Andre Lessa and the
> PyGTK Tutorial. That is where these source codes came from.
> The code in Question came from the Chapter Getting Started in the PyGTK
> Tutorial 

Note that the code you wrote was incorrectly indented. The original 
code[1] was *correctly* indented and ought to work.

> and from Chapter 15, page 579 in the Python Developer's
> Handbook.

I *have* heard that this book contains many errors.


Robert Kern
rkern at

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter

More information about the Python-list mailing list