In this tutorial, I will be demonstrating Graphical User Interface
Programming using Python.
The codes are below:
Our output should be the same as below:
top = Tk()
– are used to initialize the form
L1 = Label(top, text=”First Name”)
L1.pack( side = LEFT)
-used to initialize and position the Label to the left with a caption of First Name
E1 = Entry(top, bd =5)
E1.pack(side = RIGHT)
-used to initialize and position the text box to the right.
Thank you very much for reading this post.
Don’t forget to leave a comment or suggestion. 🙂