Tkinter.py
Tkinter Projects:
from tkinter import *
from PIL import Image,ImageTk
root=Tk()
root.geometry("500x600")
root.title("all Fuctions")
root.minsize(100,100)
# root.maxsize(200,200)
lable=Label(text="First Software")
lable.pack()
photo=PhotoImage(file="tkimage1.png")
photolable=Label(image=photo)
photolable.pack()
root.mainloop()
# Software ka First page open page bana na hainimport tkinter as tkfrom PIL import Image,ImageTkroot=tk.Tk()root.configure(bg="Lightyellow")root.geometry("800x500")root.title("Image Pages")root.minsize(200,200)photo=Image.open("tkimage1.jpg")photo=photo.resize((400,400)) image=ImageTk.PhotoImage(photo)imagelable=tk.Label(root,image=image)imagelable.pack(pady=30)
lable=tk.Label(text="Hello,Welcome to NGDTools!..",font=("Arial",40,"bold"),fg="Green")lable.pack(pady=5)root.mainloop()
# Software ka First page open
page bana na hain
import tkinter as tk
from PIL import Image,ImageTk
root=tk.Tk()
root.configure(bg="Lightyellow")
root.geometry("800x500")
root.title("Image Pages")
root.minsize(200,200)
photo=Image.open("tkimage1.jpg")
photo=photo.resize((400,400))
image=ImageTk.PhotoImage(photo)
imagelable=tk.Label(root,image=image)
imagelable.pack(pady=30)
lable=tk.Label(text="Hello,
Welcome to NGDTools!..",
font=("Arial",40,"bold"),fg="Green")
lable.pack(pady=5)
root.mainloop()
from tkinter import*root=Tk()root.geometry("500x400")root.configure(bg="lightyellow")root.title("Rady Windows")
rady_lable=Label(text="Rady...",font="Arial 25 bold",fg="White",bg="GREEN",padx=80,pady=5, borderwidth=5,highlightthickness=5,highlightbackground="Black",highlightcolor="Black",relief=SUNKEN)
rady_lable.pack(side=BOTTOM,pady=5)root.mainloop()
from tkinter import*
root=Tk()
root.geometry("500x400")
root.configure(bg="lightyellow")
root.title("Rady Windows")
rady_lable=Label(text="Rady...",
font="Arial 25 bold",fg="White",
bg="GREEN",padx=80,pady=5,
borderwidth=5,highlightthickness=5,
highlightbackground="Black",
highlightcolor="Black",relief=SUNKEN)
rady_lable.pack(side=BOTTOM,pady=5)
root.mainloop()
# News paper in Tikinter:-one Image,Heading,Information,Locationsfrom tkinter import*from PIL import Image,ImageTkroot=Tk()root.geometry("800x500")root.minsize(300,300)root.configure(bg="#F0FFFF")root.title("// NewspaperApps in INDIA /...")
head_lable=Label(text="Tech Update: AI Fund Launch & Windows 11 Adoptoion Slow.",bg="#0000FF",fg="White",font="Arial 20 bold")head_lable.pack(pady=10)
photo=Image.open("Aiimage.jpg")photo=photo.resize((400,300)) image=ImageTk.PhotoImage(photo)imagelable=Label(root,image=image)imagelable.pack(pady=5)
body_lable=Label(text="Google and Accel have lauched a new fund to support Ai Startups in india.\nMeanwhile, many people around the world still haven't upgraded to Windows 11.",bg="#F0FFFF",fg="Black",font="Arial 25 bold")body_lable.pack()root.mainloop()
# News paper in Tikinter:-
one Image,Heading,Information,Locations
from tkinter import*
from PIL import Image,ImageTk
root=Tk()
root.geometry("800x500")
root.minsize(300,300)
root.configure(bg="#F0FFFF")
root.title("// NewspaperApps in INDIA /...")
head_lable=Label(text="Tech Update: AI Fund Launch & Windows 11 Adoptoion Slow.",bg="#0000FF",fg="White",font="Arial 20 bold")
head_lable.pack(pady=10)
photo=Image.open("Aiimage.jpg")
photo=photo.resize((400,300))
image=ImageTk.PhotoImage(photo)
imagelable=Label(root,image=image)
imagelable.pack(pady=5)
body_lable=Label(text="Google
and Accel have lauched a new
fund to support Ai Startups in
india.\nMeanwhile, many people
around the world still haven't
upgraded to Windows 11.",
bg="#F0FFFF",fg="Black",
font="Arial 25 bold")
body_lable.pack()
root.mainloop()
from tkinter import*root=Tk()root.geometry("800x500")root.title("Frame App")
def home(): print("Welcome")def file(): print("File in new file , open file and Save , Save as")def view(): print("It is A view column")def save(): print("Works is save")
fr1=Frame(root,bg="grey",borderwidth=6,relief=SUNKEN)fr1.pack(side=LEFT,fill="y")lab=Label(fr1,text="Tkinter_Projects - file\n Tkinter1.py\n Tikinter2.py\n Tkinter3.py")lab.pack(pady=142)
fr2=Frame(root,bg="grey",borderwidth=6,relief=SUNKEN)fr2.pack(side=TOP,fill="x")b1=Button(fr2,text="File",font="arial 10 bold",fg="red",command=file)b1.pack(side=LEFT,padx=10)b2=Button(fr2,text="Home",font="arial 10 bold",fg="red",command=home)b2.pack(side=LEFT,padx=10)b3=Button(fr2,text="View",font="arial 10 bold",fg="red",command=view)b3.pack(side=LEFT,padx=10)b4=Button(fr2,text="Save",font="arial 10 bold",fg="red",command=save)b4.pack(side=LEFT,padx=10)
fr3=Frame(root,bg="Grey",borderwidth=6,relief=SUNKEN)fr3.pack(side=BOTTOM,fill="x")lab=Label(fr3,text="Tkinter_Projects - file")lab.pack(pady=5)
fr4=Frame(root,bg="grey",borderwidth=6,relief=SUNKEN)fr4.pack(side=RIGHT,fill="y")lab=Label(fr4,text="Tkinter_Projects - file")lab.pack(pady=142)
root.mainloop()
from tkinter import*
root=Tk()
root.geometry("800x500")
root.title("Frame App")
def home():
print("Welcome")
def file():
print("File in new file ,
open file and Save , Save as")
def view():
print("It is A view column")
def save():
print("Works is save")
fr1=Frame(root,bg="grey",
borderwidth=6,relief=SUNKEN)
fr1.pack(side=LEFT,fill="y")
lab=Label(fr1,text="Tkinter_Projects -
file\n Tkinter1.py\n Tikinter2.py\n
Tkinter3.py")
lab.pack(pady=142)
fr2=Frame(root,bg="grey",
borderwidth=6,relief=SUNKEN)
fr2.pack(side=TOP,fill="x")
b1=Button(fr2,text="File",
font="arial 10 bold",fg="red",
command=file)
b1.pack(side=LEFT,padx=10)
b2=Button(fr2,text="Home",
font="arial 10 bold",fg="red",
command=home)
b2.pack(side=LEFT,padx=10)
b3=Button(fr2,text="View",
font="arial 10 bold",fg="red",
command=view)
b3.pack(side=LEFT,padx=10)
b4=Button(fr2,text="Save",
font="arial 10 bold",fg="red",
command=save)
b4.pack(side=LEFT,padx=10)
fr3=Frame(root,bg="Grey",
borderwidth=6,relief=SUNKEN)
fr3.pack(side=BOTTOM,fill="x")
lab=Label(fr3,text="Tkinter_Projects
- file")
lab.pack(pady=5)
fr4=Frame(root,bg="grey",
borderwidth=6,relief=SUNKEN)
fr4.pack(side=RIGHT,fill="y")
lab=Label(fr4,text="Tkinter_Projects
- file")
lab.pack(pady=142)
root.mainloop()
Comments
Post a Comment