Advertisement
here2share

# tkFileDialog_askopenfilename.py

Jun 16th, 2015
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # tkFileDialog_askopenfilename.py
  2.  
  3. from Tkinter import *
  4. import tkFileDialog
  5.  
  6. root = Tk()
  7.  
  8. Button(root, text='open', command=tkFileDialog.askopenfilename).pack()
  9.  
  10. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement