Draw Rectangle,drawrectangle,from Tkinter
Draw Rectangle,drawrectangle,from Tkinter
from Tkinter import *root = Tk()root.title('Canvas')canvas = Canvas(root, width =400, height=400)canvas.create_rectangle(205,10,300,105, outline='white', fill='gray50')canvas.pack()root.mainloop()
- Writing to a Database,writingtodatabase,import MySQL
- Searching Lists,searchinglists,li = ['a', '
- tell(): Returns the current file position,returnsposit
- Tools for Working with Lists,workinglists,# The array
- Garbage collector is enabled,garbagecollector,import g
- locale module accesses a database of culture specific da
热门文章:
相关内容
- Writing to a Database,writingtodatabase,import MySQL
- Searching Lists,searchinglists,li = ['a', '
- tell(): Returns the current file position,returnsposition,f = open(
- Tools for Working with Lists,workinglists,# The array
- Garbage collector is enabled,garbagecollector,import gcgc_
- locale module accesses a database of culture specific data formats,
- Bind mouse click action to the object on a canvas,bindcanvas,from T
- Math: sin,mathsin,import mathp
- Radiobuttons demonstration set Font in Text,,from Tkinter
- Storing Non-ASCII Characters,storingnon-ascii,s = u'La Pe\
评论关闭