TKinter question (hiding the main window)

Andrew akaspick at sympatico.ca
Sat Aug 4 21:00:03 EDT 2001


Hello,

I'm new to python and tkinter and have a quick question.  In the following
code I want the file dialog to show, but not the main tkinter window that is
displayed.  The code sample is the only way I was able to get things to work
so far.

Thanks,
Andrew


from Tkinter import *

root = Tk()

fileName = askopenfilename()

root.mainloop()





More information about the Python-list mailing list