Skip to main content

Some tkinter functions for selecting files/folders

Project description

Some tkinter functions for selecting files/folders

# Tested with:
# Python 3.9.13
# Windows 10

pip install tkinter-files-folders

from tkinter_files_folders import (
    get_multiple_files_with_tkinter,
    get_file_with_tkinter,
    get_save_file_with_tkinter,
    get_existing_directory_with_tkinter,
    get_not_existing_directory_with_tkinter,
)
get_multiple_files_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_file_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_save_file_with_tkinter(filetypes=((".txt", "*.txt"), (".png", "*.png")))
get_existing_directory_with_tkinter()
get_not_existing_directory_with_tkinter()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkinter_files_folders-0.11.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

tkinter_files_folders-0.11-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page