Advertisement
rdrewd-facebook

tkcounter1.py

Jun 24th, 2014
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import sys
  2. from tkinter import *
  3. def print_function(n):
  4.     label=Label(text=n).pack()
  5. root=Tk()
  6. for i in range(4):
  7.     mbutton=Button(text='ok '+str(i)).pack()
  8. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement