Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-09 Thread Coral Snake
Again Thanks to everyone here. Both the GTK and the Tkinter example are running fine now. -- http://mail.python.org/mailman/listinfo/python-list

Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-08 Thread Robert Kern
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 Tutoria

Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-08 Thread Coral Snake
klappnase wrote: > "Coral Snake" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > > -- > > Tkinter: > > > > from Tkinter import * > > root = Tk() > > This creates the application's main window. The Tk() command is not > som

Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-08 Thread klappnase
"Coral Snake" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > -- > Tkinter: > > from Tkinter import * > root = Tk() This creates the application's main window. The Tk() command is not some kind of initialization routine,

Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-08 Thread Steve Holden
Coral Snake wrote: I am having problems with programming even simple "Hello World" programs from books and tutorials that use Python GUI libraries. Such Programs cause python to throw "Attribute Errors" even when the "attributes" being asked for by the errors exist in the source code. This has happ

Re: Mysterious "Attribute Errors" when GUI Programming

2005-03-07 Thread Robert Kern
Coral Snake wrote: I am having problems with programming even simple "Hello World" programs from books and tutorials that use Python GUI libraries. Such Programs cause python to throw "Attribute Errors" even when the "attributes" being asked for by the errors exist in the source code. This has happ

Mysterious "Attribute Errors" when GUI Programming

2005-03-07 Thread Coral Snake
I am having problems with programming even simple "Hello World" programs from books and tutorials that use Python GUI libraries. Such Programs cause python to throw "Attribute Errors" even when the "attributes" being asked for by the errors exist in the source code. This has happened to me in both