Draw polygon,drawpolygon,from Tkinter
Draw polygon,drawpolygon,from Tkinter
from Tkinter import *root = Tk()root.title('Canvas')canvas = Canvas(root, width =400, height=400)canvas.create_polygon(205,105,285,125,166,177,210,199,205,105, fill='white')canvas.pack()root.mainloop()
- Mouse action: single click, double click,mouseclick,im
- test for List membership with in,testmembership,invent
- Reference dictionary in print function,,print '%(n)d
- Subclassing the Default ContentHandler,,from xml.sax
- Define your own class to store time and date,definesto
- String output format: %e, %f, %g and,%e%g,x = 1.234567
热门文章:
相关内容
- Mouse action: single click, double click,mouseclick,import Tkint
- test for List membership with in,testmembership,inventory =
- Reference dictionary in print function,,print '%(n)d
- Subclassing the Default ContentHandler,,from xml.sax
- Define your own class to store time and date,definestore,import tim
- String output format: %e, %f, %g and,%e%g,x = 1.234567
- Using finally clauses.,finallyclauses,def raiseExc
- Draw circle,drawcircle,from Tkinter
- Inner function definition,innerdefinition,def f1():
- Used by echoes: as code form,usedechoes,num = 1 / 3.
评论关闭