Draw gif image,drawgifimage,from Tkinter
Draw gif image,drawgifimage,from Tkinter
from Tkinter import *root = Tk()#root.option_readfile('optionDB')root.title('Canvas')canvas = Canvas(root, width =400, height=400)img = PhotoImage(file='./logo.gif')canvas.create_image(145,280, image=img, anchor=CENTER)canvas.pack()root.mainloop()
- Stripping whitespace from a string.,,string1 = '\
- aligning positive and negative numbers,aligningnegativ
- When the and-or Trick Fails,and-orfails,a = '' b = '
- Map string to sys.stout.write,mapsys.stout.write,impor
- Boolean operation in if,booleanoperation,# number <
- Move what you drew on a canvas,drewcanvas,from Tkinter
热门文章:
相关内容
- Stripping whitespace from a string.,,string1 = '\
- aligning positive and negative numbers,aligningnegative,print ('% 5
- When the and-or Trick Fails,and-orfails,a = '' b = '
- Map string to sys.stout.write,mapsys.stout.write,import syssh
- Boolean operation in if,booleanoperation,# number <=
- Move what you drew on a canvas,drewcanvas,from Tkinter
- List concatenation Demo,concatenationdemo,print [1, 2,
- Using sys.modules,usingsys.modules,import syspr
- Zip a two lists,ziptwolists,L1 = [1,2,3,
- String Format: Force eight digits in integer,eightdigits,integerVal
评论关闭