1 changed files with 15 additions and 3 deletions
@ -1,3 +1,15 @@ |
|||||
from tkinter import |
import tkinter as tk |
||||
root = Tk() |
|
||||
root.title(convertion pouces en milimetre) |
|
||||
|
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 |
||||
Loading…
Reference in new issue