Skip to content
Sign upLog in
← Back to Community

How do you make a button in python?

Profile icon
donkeyhouse

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 [earned 5 cycles]
View Answer
Voters
Profile icon
coder0987
Profile icon
TheodorSandstro
Profile icon
GeorgeRomanov
Profile icon
jonnepiironen
Profile icon
SiddhanthaGR
Profile icon
MoBaker
Profile icon
Foster_Bryant
Profile icon
ChezCoder
Profile icon
donkeyhouse
Comments
hotnewtop
Profile icon
ChezCoder

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

Profile icon
donkeyhouse

@ChezCoder

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

Profile icon
ChezCoder

@donkeyhouse

ur welcome. did i mention u suck a lot.

Profile icon
donkeyhouse

@ChezCoder

ya thanks a lot man. it really helps me.

Profile icon
ChezCoder

@donkeyhouse
:)

Profile icon
donkeyhouse

@ChezCoder
:)

Profile icon
ChezCoder

@donkeyhouse
:)

Profile icon
donkeyhouse

@ChezCoder
:)

Profile icon
ChezCoder

@donkeyhouse
lol what are we doing?

Profile icon
donkeyhouse

@ChezCoder
were being stoopid

Profile icon
ChezCoder

@donkeyhouse
ok bye u weirdo

Profile icon
YTAyushTGD

@ChezCoder
What the hell

Profile icon
Geocube101

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