Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # tkFileDialog_askopenfilename.py
- from Tkinter import *
- import tkFileDialog
- root = Tk()
- Button(root, text='open', command=tkFileDialog.askopenfilename).pack()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement