[issue7914] IntVar() - AttributeError: 'NoneType' object has no attribute 'tk'
Nick
report at bugs.python.org
Thu Feb 11 22:48:13 CET 2010
Nick <nick.allgood at gmail.com> added the comment:
Ok this was my own mistake and not a bug.. really sorry about this.
Moving the following code ABOVE the IntVar() calls allows it to work:
app = Tk()
app.title("TESTING")
app.geometry('300x100+200+100')
See revised attached
----------
status: open -> closed
Added file: http://bugs.python.org/file16215/intvar-POC.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7914>
_______________________________________
More information about the Python-bugs-list
mailing list