Skip to content

Instantly share code, notes, and snippets.

@harendra21
Created May 12, 2022 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harendra21/49bb8922b89fb81f73e9a45e73fa97e1 to your computer and use it in GitHub Desktop.
Save harendra21/49bb8922b89fb81f73e9a45e73fa97e1 to your computer and use it in GitHub Desktop.
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