Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create an entry box on tkinter python

import tkinter as tk
window = tk.Tk()

firstEntry = tk.Entry(window) #this line creates the text box and the variable can be anything

firstEntry.pack() #this loads it and it must start with the variable name and .pack() at the end
window.mainloop()
 
PREVIOUS NEXT
Tagged: #create #entry #box #tkinter #python
ADD COMMENT
Topic
Name
1+9 =