Advertisement
here2share

# Tkinter_btns_left and right.py

May 29th, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. # Tkinter_btns_left and right.py
  2.  
  3. import Tkinter
  4. root=Tkinter.Tk()
  5. label=Tkinter.Label(root,text='Hello ,World!')
  6. label.pack()
  7. btn1=Tkinter.Button(root,text='BUTTON 1')
  8. btn1.pack(side=Tkinter.LEFT)
  9. btn2=Tkinter.Button(root,text='BUTTON 2')
  10. btn2.pack(side=Tkinter.RIGHT)
  11. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement