Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tkinter_btns_left and right.py
- import Tkinter
- root=Tkinter.Tk()
- label=Tkinter.Label(root,text='Hello ,World!')
- label.pack()
- btn1=Tkinter.Button(root,text='BUTTON 1')
- btn1.pack(side=Tkinter.LEFT)
- btn2=Tkinter.Button(root,text='BUTTON 2')
- btn2.pack(side=Tkinter.RIGHT)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement