askopenfilename() as root window
Sean DiZazzo
half.italian at gmail.com
Tue Dec 18 20:43:17 EST 2007
More information about the Python-list mailing list
Tue Dec 18 20:43:17 EST 2007
- Previous message (by thread): askopenfilename() as root window
- Next message (by thread): askopenfilename() as root window
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): askopenfilename() as root window
- Next message (by thread): askopenfilename() as root window
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list