Added tkinter_filepicker_test.py

This commit is contained in:
anon 2024-03-10 15:57:36 +01:00
parent ff1d79012c
commit b6039e3ffd

@ -0,0 +1,11 @@
import tkinter as tk
from tkinter import filedialog
root = tk.Tk()
root.withdraw() # Hide the root window
# Open the file picker dialog
file_path = filedialog.askopenfilename()
print("Selected file:", file_path)