tkMessageBox returns 'can't invoke "frame" command:' error

Timothy R Evans tre17 at cosc.canterbury.ac.nz
Mon Jun 21 22:41:53 EDT 1999


The actuall error is caused by the Tk mainloop cannot be restarted,
obviously Tkinter was never designed to support what you're doing
here.  The cause of your problem seems be partly that you actually
expected this to work, putting lots of code in a module initialisation 
is not good style.  If you post a description of what you are trying
to do I can give you a correct and better style solution.

--
Tim Evans




More information about the Python-list mailing list