Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. from tkinter import *
  2.  
  3. def show_entry_fields():
  4.    print("First Name: %s\nLast Name: %s" % ('Joe', 'Doe'))
  5.  
  6. master = Tk()
  7.  
  8. Button(master, text='Show', command=show_entry_fields).grid(row=0, column=0, sticky=W, padx=20, pady=20)
  9.  
  10. mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement