- >>> from tkinter import *
- >>> platno=Canvas()
- >>> platno.pack()
- >>> platno.create_line(0, 0, 200, 100)
- >>> platno.create_line(0, 100, 200, 0, fill="red", dash=(4, 4))
- >>> platno.create_rectangle(50, 25, 150, 75, fill="blue")
- >>> mainloop()
SHARE
TWEET
Untitled
a guest
Jan 17th, 2012
15
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

