A (near zero dependency by default) cross platform folder picker
- Opens a folder dialog using:
- Default:
tkinter
for Windows (falls back toctypes
)zenity
/kdialog
for Linuxosascript
for macOS
- Optionally:
qt
gtk
- Default:
- Customize the dialog’s title and icon easily
- Uses native dialogs where possible for a familiar look & feel
- Falls back gracefully if native options aren’t available
- Super simple to use in scripts, CLI tools, or GUI apps
pip install cross-platform-folder-picker
from cross_platform_folder_picker import open_folder_picker
folder = open_folder_picker()
print(folder) # Prints the selected folder path, or None if you cancel
- Let me know what features or improvements you'd like to see next!