Skip to content

Instantly share code, notes, and snippets.

@neotheicebird
Created April 28, 2014 08:59
Show Gist options
  • Save neotheicebird/11366115 to your computer and use it in GitHub Desktop.
Save neotheicebird/11366115 to your computer and use it in GitHub Desktop.
File select dialog - Python
# source: http://stackoverflow.com/questions/9319317/quick-and-easy-file-dialog-in-python
import Tkinter, tkFileDialog
root = Tkinter.Tk()
root.withdraw()
file_path = tkFileDialog.askopenfilename()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment