J ai mis en place un bouton qui doit déclencher la commande valide
l’exécution me retourne un message d'erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 #------------------------------------------------------ BOUTTONS --------------------------- #-------------------------------------- BUTTON ACTION GOOOOOOOOOOO -- TEST OOOOOOOOOOOOOOOOOOOOOOOO #------------------------------------------------------ but_Valid1 = Button(root, text = " Action Validation ! ", command=Valide), but_Valid1.config( borderwidth=2, relief="raised", bg="firebrick1", width=0, height=1, font=('Arial',14, 'bold')) but_Valid1.place(x=600, y=300) #-------------------------------------- BUTTON ACTION crypt decrypt
cette erreur est assez fréquente mais je ne comprend pas sa résolution merciTraceback (most recent call last):
File "C:\Users\Zapad\AppData\Local\Programs\Python\Python312\A-GARDE-MODULES-SOURCE\01-03-go-15_02-v3.py", line 165, in <module>
but_Valid1.config( borderwidth=2, relief="raised", bg="firebrick1", width=0,
AttributeError: 'tuple' object has no attribute 'config'
Partager