convertisseur de Devises 💱💲🪙

from tkinter import * from tkinter.ttk import Combobox, Button, Entry import math, os class currencyApp(LabelFrame): def __init__(self, width = 200, height = 400, color = 'dark blue'): LabelFrame.__init__(self, bg= color, width = width, height = height, relief = 'ridge', bd = 1) self.width, self.height, self.color = width, height, color self.lab = Label(self, text = 'python Lite Currency',relief='flat',font=("verdana",10,"bold",'italic'), bg = 'white',fg = color) self.configure(labelwidget = self.lab, labelanchor = 'nw') self.currens = {'FCFA': {'Euro': 0.001524, 'Dollar US': 0.0018, 'Yen': 0.2, 'Livre Sterling': 0.001297, 'Naira': 0.5}, 'Euro': {'FCFA': 655.957, 'Dollar US': 1.12, 'Yen': 130, 'Livre Sterling': 0.85, 'Naira': 420}, ...