Skip to content

Instantly share code, notes, and snippets.

@Basemera
Created October 12, 2022 14:57
Show Gist options
  • Save Basemera/94dd95e4a6a28f5eaf6aa4a648559f39 to your computer and use it in GitHub Desktop.
Save Basemera/94dd95e4a6a28f5eaf6aa4a648559f39 to your computer and use it in GitHub Desktop.
from tkinter import filedialog as fd
def open_file_selection():
file = fd.askopenfile()
print(file.read())
open_file_selection()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment