Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- root = Tk()
- u1_frame = Frame(root, width=300, height=320)
- u1_frame.grid(row=0, column=0)
- c = Canvas(root, width=300, height=320)
- c.place(x=150, y=160, anchor="c")
- c.create_line(150,270,150,60, fill="#77DDE7", width=140, arrow=LAST, arrowshape="80 80 30")
- c.create_oval(230, 20, 290, 80, fill="orange", outline="orange")
- for i in range(40):
- c.create_arc(-80+i*15, 260, 10+i*14, 390,
- start=90, extent=90,
- style=ARC, outline='green',
- width=3)
- #=============
- root.mainloop()
Add Comment
Please, Sign In to add comment