diff --git a/nsi.py b/nsi.py index e6cee29..ea8cbe5 100644 --- a/nsi.py +++ b/nsi.py @@ -1,3 +1,15 @@ -from tkinter import -root = Tk() -root.title(convertion pouces en milimetre) \ No newline at end of file +import tkinter as tk + + +def convpm() : + print(value.get()/0,1575) + +def convmp() : + print(value.get()*0,1575) + + + + +fenetre = tk.Tk() +fenetre.title("convertisseur pouce et milimetre") +canvas = tk.canvas(fenetre, width=500, height=500 \ No newline at end of file