bonjours j ai se code mais je ne sais pas comment recuperer les donner que l utilisateur entre dans le widget entry pouvez vous maider svp
from tkinter import *
root = Tk()
root.title("mael")
root.geometry("720x480")
root.config(background='#1FBAE7')
frame = Frame(root, bg='#1FBAE7')
width = 300
height = 300
image = PhotoImage(file="password (1).png").zoom(15).subsample(32)
canvas = Canvas(frame, width=width, height=height, bg='#1FBAE7', bd=0, highlightthickness=0)
canvas.create_image(width/2, height/2,image=image)
canvas.grid(row=0, column=0, sticky=W)
right_frame = Frame(frame, bg='#1FBAE7')
label_title = Label(right_frame, text="mots de pass", font=("Helvertica", 20), bg='#1FBAE7', fg='white')
label_title.pack()
password = Entry(right_frame, font=("Helvertica", 20), bg='#1FBAE7', fg='white')
password.pack()
right_frame.grid(row=0, column=1, sticky=W)
frame.pack(expand=YES)
boutton = Button(right_frame, text="mots de pass", font=("Helvertica", 20), bg='#1FBAE7', fg='white')
boutton.pack(fill=X)
root.mainloop()
13 sept. 2022 à 18:01
merci