erreur a l'execution noncompris
J ai mis en place un bouton qui doit déclencher la commande valide
Code:
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 |
l’exécution me retourne un message d'erreur:
Citation:
Traceback (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'
cette erreur est assez fréquente mais je ne comprend pas sa résolution merci
erreur a l'execution noncompris
bonjour
merci de votre reponse efficace qui me debloque
bonne journee