Answer the question
In order to leave comments, you need to log in
tkinter window not opening?
from tkinter import *
def printer(event):
print ("Hello")
root = Tk()
but = Button(root)
but["text"] = "Печать"
but.bind("<Button-1>",printer)
but.pack()
root.mainloop
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question