Python buttons 🛎️

Publicado el: 22 September 2020
en el canal de: Bro Code
53,287
1.3k

Python tkinter button buttons GUI tutorial beginners code

#Python #tkinter #button #buttons #GUI #tutorial #beginners #code

from tkinter import *

button = you click it, then it does stuff

count = 0

def click():
global count
count+=1
print(count)

window = Tk()

photo = PhotoImage(file='like.png')

button = Button(window,
text="click me!",
command=click,
font=("Comic Sans",30),
fg="#00FF00",
bg="black",
activeforeground="#00FF00",
activebackground="black",
state=ACTIVE,
image=photo,
compound='bottom')
button.pack()

window.mainloop()


En esta página del sitio puede ver el video en línea Python buttons 🛎️ de Duración hora minuto segunda en buena calidad , que subió el usuario Bro Code 22 September 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 53,287 veces y le gustó 1.3 mil a los espectadores. Disfruta viendo!