import tkinter as tk from tkinter.constants import * class Fenetre(tk.Tk): def __init__(self): tk.Tk.__init__(self) self.title("Calculatrice") self.geometry("400x600") self.configure(bg='white') window = Fenetre() window.mainloop()