Computer Science, asked by anmolnarula48, 1 month ago

how to create a button in python give syntax and examples​

Answers

Answered by mtaj5499
3

Answer:

Python Tkinter Button with python tutorial, tkinter, button, overview, entry, checkbutton, canvas, ... The syntax to use the button widget is given below

Answered by ⲘⲓssRσѕє
1

Answer:

\huge\fcolorbox{blue}{pink}{☃αղsաҽɾ☃}

You should use self. btn1 ( btn1 is a class method) in button1=Button(root,text="1p",command=btn1) . btn1() is called with one argument and it needs two arguments, set a default value to btn1co de or removeit (if you do not use it).

Similar questions