import tkinter as tk root = tk.Tk() root.geometry("200x100") textExample = tk.Entry(root) textExample.insert(0, "Default Text") textExample.pack() root.mainloop()