AttributeError: 'NoneType' object has no attribute 'get_text'
python at mrabarnett.plus.com
Tue Sep 1 18:28:09 CEST 2009
Raji Seetharaman wrote:
> Hi all, i worked out python and glade example program to add two numbers
> and display its output from the following link
> When i run the script, i received the following error
> python add.py
> Traceback (most recent call last):
> File "add.py", line 34, in add
> thistime = adder( self.wTree.get_widget("entryNumber1").get_text(),
> AttributeError: 'NoneType' object has no attribute 'get_text'
> What has to be done to overcome this error?
I think you need to name the text entry fields "entryNumber1" and
More information about the Python-list