1import tkinter as tk
2from tkinter import simpledialog
3
4ROOT = tk.Tk()
5
6ROOT.withdraw()
7# the input dialog
8USER_INP = simpledialog.askstring(title="Test",
9 prompt="What's your Name?:")
10
11# check it out
12print("Hello", USER_INP)