[python-win32] Tkinter - can't close the console or interpreter window

Hameed Khan hameedkhaan at yahoo.com
Mon Nov 3 12:08:17 EST 2003


Hi,
  Sorry last time i post my question with the subject with no sense to my question. Because i was sleepy. Anyway, here is my another question. Today in morning i was learning to make a simple dialogue box with a quit button on it. Here is the code listing.
 
#### Simple Dialogue Code
 

from Tkinter import *# set up the window itselftop = Tk()F = Frame(top)F.pack()# add the widgetslHello = Label(F, text="Hello")lHello.pack()bQuit = Button(F, text="Quit", command=F.quit)bQuit.pack()# set the loop runningtop.mainloop()

 
#### End
 
The problem is that the typical interpreter window is appearing behind the dialogue box when i double click on my script file. anyidea how i can close that interpreter window so i will only get my dialogue box.
 
Thanks,
Regards,
Hameed Khan.


---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20031103/99276486/attachment.html


More information about the Python-win32 mailing list