Answers for "how to create an entry box on tkinter python"

0

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()
Posted by: Guest on April-19-2022

Code answers related to "how to create an entry box on tkinter python"

Python Answers by Framework

Browse Popular Code Answers by Language