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
http://www.dreamincode.net/forums/showtopic63885.htm
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(),
self.wTree.get_widget("entryNumber2").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
"entryNumber2".
--
http://mail.python.org/mailman/listinfo/python-list