Home

Awesome

CrossFileDialog

A Python wrapper for opening files and folders with the native file dialog.

Makes it easy to prompt the user with a native filepicker on all supported platforms.

Currently supports:

Basic API usage:

import crossfiledialog

filename = crossfiledialog.open_file()
multiple_filenames = crossfiledialog.open_multiple()
save_filename = crossfiledialog.save_file()
foldername = crossfiledialog.choose_folder()

Documentation

crossfiledialog.open_file(title, start_dir, filter) -> str

Open a file selection dialog for selecting a file.

Parameters:

Returns:


crossfiledialog.open_multiple(title, start_dir, filter) -> list[str]

Open a file selection dialog for selecting multiple files.

Parameters:

Returns:


crossfiledialog.save_file(title, start_dir) -> str

Open a save file dialog.

Parameters:

Returns:


crossfiledialog.save_file(title, start_dir) -> str

Open a folder selection dialog.

Parameters:

Returns:

Licence

Licensed under the GNU GPL 3.0