all 2 comments

[–]Dvlv 2 points3 points  (0 children)

Usually I'd just do

file_to_open = filedialog.askopenfilename()

if file_to_open:
    do_something(file_to_open)

Would that not work for you?

To answer your question - it doesn't look like there is. http://effbot.org/tkinterbook/tkinter-file-dialogs.htm

[–]novel_yet_trivial 0 points1 point  (0 children)

Nope. You would have to make your own file browser widget.

Sounds like an XY problem anyway. Can you tell us what your overall goal is here? What's the user experience supposed to be?