New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to make a button in python?
How
2 Answers
+ 6
You probably need to work with graphics libraries like tkinter for that one.
+ 6
from tkinter import *
from tkinter import ttk
root = Tk()
button = ttk.Button(root, text = "click me!")
button.pack()