SHARE
TWEET

canvas on left and right

furas Aug 3rd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import tkinter as tk
  2.  
  3. root = tk.Tk()
  4.  
  5. canvas = tk.Canvas(root, width=100, height=600, bg='black')
  6. canvas.pack(side='left')
  7.  
  8. picture_canvas = tk.Canvas(root, width=100, height=600, bg='green')
  9. picture_canvas.pack()
  10.  
  11. root.mainloop()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top