Working with tkinter, I have a createWidgets() method in a class. Within createWidgets() I create several StringVars() and assign them to the textvariable option of several widgets. Effectively my code structure is:
def createWidgets(self): ... var = StringVar() Entry(master,textvariable=var) ... ... Though 'var' would normally go out of scope when createWidgets completes, since the Entry and its reference do not go out of scope, only the name 'var' goes out of scope, not the StringVar object, Right? Thanks, Bill -- http://mail.python.org/mailman/listinfo/python-list