Ask coding questions

← Back to all posts
How do you make a button in python?
donkeyhouse (10)

Sorry if I sound stupid. I am very new to python and very bad. I just want to make a regular button that will do something if clicked. Like make a variable thats a number one number higher every time you click it.

Answered by ChezCoder (1606) [earned 5 cycles]
View Answer
Comments
hotnewtop
ChezCoder (1606)

You do sound stupid and you are very bad. You can use tkinter, otherwise it's physically impossible. DUD. You can use HTML.

donkeyhouse (10)

@ChezCoder
Thanks for the constructive criticism saying that I sound stupid and am very bad.

ChezCoder (1606)

@donkeyhouse
ur welcome. did i mention u suck a lot.

donkeyhouse (10)

@ChezCoder
ya thanks a lot man. it really helps me.

Geocube101 (628)

You can use tkinter
If you want to use tkinter in repl.it, you must also use the python with tkinter repl