def Csv(): MesCsv = tk.Tk() MesCsv.title("Les Csv Sont") MesCsv['bg'] = 'white' S = Analyse.GetAll() for x in S: Frame1 = tk.Frame(MesCsv, borderwidth=2, relief=tk.SUNKEN) Frame1.pack(side=tk.LEFT, padx=10, pady=10) tk.Label(Frame1, text=x).pack(padx=10, pady=10)
def Plots(): plot = tk.Tk() plot.title(">>>Data Choice<<<") DFList = Analyse.GetAll() for x in DFList: button = tk.Button(plot, text=x, bg="SkyBlue2", width=10, command=lambda s=x: Show(s)) button.pack()