Advertisement
Guest User

Untitled

a guest
May 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. from tkinter import *
  2. master = Tk()
  3.  
  4. w = Canvas(master, width=350, height=300)
  5. w.pack()
  6.  
  7. w.create_line(0, 4, 600,4, fill="#476042", width=3)
  8. w.create_line(0, 50, 600,50, fill="#476042", width=3)
  9. w.create_line(0, 100, 600,100, fill="#476042", width=3)
  10. w.create_line(0, 150, 600,150, fill="#476042", width=3)
  11. w.create_line(0, 200, 600,200, fill="#476042", width=3)
  12. w.create_line(0, 250, 600,250, fill="#476042", width=3)
  13. w.create_line(0, 300, 600,300, fill="#476042", width=3)
  14. w.create_line(3, 0, 3,350, fill="#476042", width=3)
  15. w.create_line(50, 0, 50,350, fill="#476042", width=3)
  16. w.create_line(100, 0, 100,350, fill="#476042", width=3)
  17. w.create_line(150, 0, 150,350, fill="#476042", width=3)
  18. w.create_line(200, 0, 200,350, fill="#476042", width=3)
  19. w.create_line(250, 0, 250,350, fill="#476042", width=3)
  20. w.create_line(300, 0, 300,350, fill="#476042", width=3)
  21. w.create_line(350, 0, 350,350, fill="#476042", width=3)
  22.  
  23.  
  24. mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement