import tkinter as tk screen = tk.Tk() screen.title("Consommation éléctrique") screen.minsize(700,500) screen.maxsize(700,500) screen.mainloop()