[Tutor] about tkinter

linda.s samrobertsmith at gmail.com
Tue Sep 5 08:58:47 CEST 2006


On 8/9/06, Alan Gauld <alan.gauld at freenet.co.uk> wrote:
> Linda,
>
> > Is that possible to open two Tkinter from one python shell?
>
> Tkinter is a python module. You can't really open a Tkinter,
> you can only import the module. What you can do is write
> a Tkinter application with multiple windows.
>
> You can have as many Tkinter applications running as
> you like but they will all be separate processes.
>
> Can you be clearer about what exactly you want to do?
>
> Alan G.

I want to open two windows with one having the blue triangle and the
other one having the red triangle (the code is attached). I can not
figure out how to use toplevel.
Linda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: two.py
Type: text/x-python
Size: 848 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20060904/2939082a/attachment.py 


More information about the Tutor mailing list