bluehost

Friday, 12 March 2021

Building Of Grid Layout Using Tkinter.

There are so many python projects a beginner can start coding and boost his or her python programming knowledge. 

In this article, I'm going to show you how to create a grid layout using Tkinter and python programming language.
The user interface will entail the personal information like name, phone numbers, Email, password, and the submit button.
Project.

.From tkinter import*
.top = Tk()
.top.geometry("400x400")
.name = Label(top, text= "Name", fg="blue").place(x=30, y=50)
.phone = Label(top, text=" Phone", fg= "blue").place(x=30, y=90)
.email = Label(top, text="Email", fg="blue").place(x=30, y=130)
.password = Label(top, text="Password", fg= "blue").place(x=30, y=160)
.button= Label(top, text=" Submit", bg="green").place(x=300, y=300)
.button= Label(top, text="Cancel", bg ="green").place(x= 300, y=400)
.entry1=Entry(top, bg="red").place(x=200, y=50)
.entry2=Entry(top, bg="red").place(x=200, y=90)
.enrty3=Entry(top, bg="red").place(x=200, y=130)
.entry4= Entry(top, bg="red").place(x=200, y=160)

top.mainloop()


As you can see, this is a very simple program which can take at least 15 minutes to complete. I have very many simple programs to show you, and so make sure you follow my blog and subscribe. 

No comments:

Post a Comment

React vs Angular; Front-End Web Development

Angular and React  are two of the most popular Javascript tools for front-end development. React is a Javascript created by Meta...