Is there any way to open a Tkinter.askopenfilename() without opening a
root window alongside the file chooser?

I simply want a script to open a dialog and return the chosen file's
path to stdout.

"""
from tkFileDialog import askopenfilename

print askopenfilename()
"""

...does the job, but it opens that nagging root window beside it.  I
tried setting parent=None to no avail.  The second window always shows
up.  Any ideas?

~Sean
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to