PyDocs

Nav

Graphical user interfaces with Tk

askopenfile

  • askopenfile(mode='r', **options)
Create an Open dialog. askopenfile() returns the opened file object, or None if the dialog is cancelled. askopenfiles() returns a list of the opened file objects, or an empty tuple if cancelled. The files are opened in mode mode (read-only 'r' by default).
0 Examples
No examples for tkinter.filedialog/askopenfile.
See Also
No see-alsos for tkinter.filedialog/askopenfile
0 Notes
No notes for askopenfile