Awesome-Python-Scripts/File-Explorer-Dialog-Box/select_file_tk.py
2018-10-03 11:45:59 +05:30

9 lines
143 B
Python

import tkinter as tk
from tkinter import filedialog
root = tk.Tk()
root.withdraw()
file_path = filedialog.askopenfilename()
print(file_path)