Created
May 3, 2018 15:43
-
-
Save nikhilkumarsingh/d38304bd95e2a0450d6878cea05d01d9 to your computer and use it in GitHub Desktop.
select files using Tkinter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from tkinter import filedialog | |
root = tk.Tk() | |
root.withdraw() | |
file_path = filedialog.askopenfilename() | |
print(file_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment