Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_arc_angles.py
- from Tkinter import *
- root = Tk()
- canvas = Canvas(root, width=240, height=400)
- canvas.pack()
- canvas.create_arc(40, 10, 200, 80, extent=45, style=ARC)
- canvas.create_arc(40, 80, 200, 160, extent=90, style=ARC)
- canvas.create_arc(40, 160, 200, 240, extent=135, style=ARC)
- canvas.create_arc(40, 240, 200, 320, extent=180, style=ARC)
- canvas.create_arc(40, 320, 200, 400, extent=359, style=ARC)###
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement