From b6c95161dfde1742290de8b039aea17e6c3075f5 Mon Sep 17 00:00:00 2001 From: MICHELAT Corentin Date: Tue, 24 Mar 2026 11:11:18 +0100 Subject: [PATCH] =?UTF-8?q?cr=C3=A9ation=20fenetre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 18f12a1..bc7ed5f 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,28 @@ +#projet 7 interface graphique import tkinter as tk +#Creation de la fenetre +fenetre =tk.Tk() +fenetre.title("Calcul d'IP") +canvas=tk.Canvas(width=500,height=500,bg="ivory") +canvas.grid -#projet 7 interface graphique \ No newline at end of file + + + + + + + + + + + + + + + + + + + +fenetre.mainloop() \ No newline at end of file