[Idle-dev] An unusual use for single process mode

Scott Daniels sdaniels at submitnet.net
Fri Aug 10 21:57:31 CEST 2012


I note that several here are contemplating dropping single-process mode.
I use idle in single-process mode to interactively develop Tkinter code.
The value I find is in how I can try Tkinter commands one-at-a-time and 
see what happens without building and running a testbed.
Try it, you might like it:

         $ python -m idlelib.idle -n &

In the idle window:

         >>> import Tix
         >>> p = Tix.Entry(show=u'\xbf')
         >>> p.master.title('Password')
         >>> p.pack()
         >>> p.get()
<enter text>
         >>> p.get()

-Scott David Daniels



More information about the IDLE-dev mailing list