how to create a button in python give syntax and examples
Answers
Answered by
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
1
Answer:
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