You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
351 B
20 lines
351 B
from tkinter import *
|
|
from calculette import *
|
|
|
|
|
|
fenetre=Tk()
|
|
fenetre.title("Calculatrice")
|
|
|
|
calcLabel = Label(fenetre, text="saisir le calcul")
|
|
calcLabel.pack()
|
|
|
|
calc = StringVar()
|
|
calc.set("")
|
|
saisie = Entry(fenetre, textvariable=calc, width=10)
|
|
saisie.pack()
|
|
|
|
bouton1 = Button(fenetre, text="CALCULER", width=8)
|
|
bouton1.pack()
|
|
|
|
fenetre.mainloop()
|
|
|
|
|