Created
July 24, 2015 14:59
-
-
Save timtan/124a87aed7e8ca69c0d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Tkinter | |
import tkSimpleDialog | |
tk = Tkinter.Tk() | |
var = tkSimpleDialog.askstring("Name prompt", "enter your name") | |
print var | |
# Reference | |
# http://effbot.org/tkinterbook/tkinter-entry-dialogs.htm | |
# http://stackoverflow.com/questions/15522336/text-input-in-tkinter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment