Skip to content

Instantly share code, notes, and snippets.

@serdkan
Created December 27, 2017 07:06
Show Gist options
  • Save serdkan/2993affc57d84de85e3bc89290d430f8 to your computer and use it in GitHub Desktop.
Save serdkan/2993affc57d84de85e3bc89290d430f8 to your computer and use it in GitHub Desktop.
Python - Click - Function
#_*_ coding:cp1254 _*_
from tkinter import *
pencere = Tk()
def bastir():
print("butona basildi")
buton = Button(pencere,text="click please",command=bastir)
buton.grid(row=0,column=0)
pencere.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment