summaryrefslogtreecommitdiffstats
path: root/test2.py
blob: f9b180302ccb4bc4e844e4d45389a32f2cd924f3 (plain)
1
2
3
4
5
6
7
8
# import subprocess
# variableHere = "Documents"
# subprocess.Popen(f'explorer "{variableHere}"')

from tkinter import filedialog

filename = filedialog.askopenfilename(initialdir="/%USER%", title="Select A File", filetypes=(("RLE files", "*.RLE"),("all files", "*.*")))
print(filename)