Tkinter and IDLE
Gregor Lingl
glingl at aon.at
Sat Jul 20 10:56:05 EDT 2002
Hi!
QUESTION 1:
===========
It's possible (and sometimes convenient) to develop
Tkinter-programs interactively with IDLE provided
one doesn't write the mainloop() call into the file.
Of course one can add this if one wnats to run the
program standalone.
I wonder if - and how - it were possible to use some test
if a Tkinter.mainloop (in this case the one of IDLE)
is already running, thus having a statement
similar to
if __name__ == '__main__':
< stuff>
at the end of the program:
if not <mainloop already active>:
app.mainloop()
so one could run the program from IDLE as well as
from the commandline.
QUESTION 2:
===========
Is there a special mailing list or something similar
dedicated to Tkinter related stuff?
Thanks in advance
Gregor
More information about the Python-list
mailing list