import tkinter as tk window = tk.Tk() text_box = tk.Text() text_box.pack() window.mainloop()