tkinter inputbox code example
Example 1: tkinter textbox
import tkinter
textBox = tkinter.Enter(text="Placeholder text")
Example 2: tkinter messagebox
import Tkinter
import tkMessageBox
top = Tkinter.Tk()
def hello():
tkMessageBox.showinfo("Say Hello", "Hello World")
B1 = Tkinter.Button(top, text = "Say Hello", command = hello)
B1.pack()
top.mainloop()