Design:
Python Code:(Copy the code)
from tkinter import*
root=Tk()
root.geometry("1350x700+0+0")
root.title("Drawer News")
root.resizable(0,0)
root.configure(background='white')
orangelayout=Label(root,height=35,width=84,bg="orange")
orangelayout.grid(row=0,column=1)
greenlayout=Label(root,height=35,width=88,bg="#009966")
greenlayout.grid(row=0,column=8)
red2layout=Label(root,height=18,width=28,bg="#FF3333")
red2layout.place(x=0,y=0)
frame=Label(root,height=28,width=155,bg="white")
frame.place(x=50,y=80)
whitebg=Label(root,height=28,width=78,bg="white")
whitebg.place(x=50,y=80)
redbg=Label(root,height=28,width=78,bg="#FF3333")
redbg.place(x=679,y=80)
titlebg=Label(root,height=3,width=22,bg="#009966")
titlebg.place(x=50,y=80)
title=Label(root,text="INSECT",fg="white",font="Arial 12 bold",bg="#009966")
title.place(x=120,y=100)
icon= PhotoImage(file="image/Bug-48.png")
B1 = Button(root,relief=RAISED,image=icon,bg="#009966",borderwidth=0)
B1.place(x=60,y=90)
E1=Entry(root,bd=5,fg="gray",font="Arial 10 ",relief=FLAT,bg="#CCCCCC")
E1.insert(0,"Serach Concept")
E1.place(x=300,y=100)
classs=Label(root,text="Name: \nP.saravana kumar\n\nDate of birth:\n18.8.1996\n\nage:\n23\n\nDepartment:\nMca\n\nQualification:\nSoftware developer & Data Scientist\n\nGender:\nMale",justify=LEFT,font="Arial 8 bold",bg="white",fg="gray")
classs.place(x=150,y=200)
sheild= PhotoImage(file="image/saran1.png")
B2= Label(root,image=sheild,borderwidth=0,bg="gray")
B2.place(x=550,y=230)
homemenu=Button(root,text="Home",bg="#FF3333",borderwidth=0,fg="white")
homemenu.place(x=750,y=100)
classmenu=Button(root,text="Class",bg="#FF3333",borderwidth=0,fg="white")
classmenu.place(x=850,y=100)
Aboutmenu=Button(root,text="About",bg="#FF3333",borderwidth=0,fg="white")
Aboutmenu.place(x=950,y=100)
title=Label(root,text="Data Science\n&\nMachine learning",font="Arial 16 bold",bg="#FF3333",fg="white")
title.place(x=1000,y=200)
python=PhotoImage(file="image/python-48.png")
subject=Label(root,image=python,bg="#FF3333",borderwidth=0)
subject.place(x=1000,y=350)
location=Label(root,text="Locality:India\n\nDistrict:Trichy",bg="#FF3333",borderwidth=0,fg="white",font="Arial 10 bold")
location.place(x=1070,y=350)
fee=Label(root,text="Rs. 5000/-only",bg="#FF3333",borderwidth=0,fg="white",font="Arial 14 bold")
fee.place(x=1070,y=430)
root.mainloop()
Code & Concept Copyrights@Saravanakumar from psktechnology
Comments
Post a Comment