Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- def azzera():
- for widget in test.winfo_children():
- widget.place_forget()
- def start():
- azzera()
- #qua metti la parte per tuo test
- test=Tk()
- test.title("TEMPS-A TEST")
- test.geometry("500x500")
- test.resizable(0,0)
- L1=Label(text="BENVENUTO\n",font= ("Courier Now", 11, "bold"))
- L1.place(relx=0.5,y=180,anchor='center')
- L2=Label(text="----------\nClicca qui",font= ("Courier Now", 11))
- L2.place(relx=0.5,y=200,anchor='center')
- B1=Button(test,text="START",font=("Courier Now", 11),command=start)
- B1.place(relx=0.5,y=250,anchor='center')
- test.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement