get_open_path
- get_open_path(dialog_caption='', file_type='', file_filters=None, force_directory='', all_files=False)
Create a dialog to obtain a file to open .
- Parameters
dialog_caption – title of the dialog.
file_type – file type to open.
file_filters – a FileFilter.
force_directory – initial working directory displayed by the dialog
- Returns
path to a file to open or null string if the user cancels the dialog.