Line width,linewidth,from Tkinter
Line width,linewidth,from Tkinter
from Tkinter import *canvas = Canvas(width=300, height=300, bg='white') canvas.pack(expand=YES, fill=BOTH) canvas.create_line(0, 300, 150, 150, width=10, fill='green')mainloop()
- Adding Elements to Lists,addinglists,li = ['a', '
- Concatenation ( + ),concatenation,num_list = [
- List membership demo,membershipdemo,print 3 in [
- List value assignment and index reference,,L1 = [2,3,4
- List: display one item through an index,displayitem,in
- Tuple concatenation,tupleconcatenation,print (1, 2)
热门文章:
相关内容
- Adding Elements to Lists,addinglists,li = ['a', '
- Concatenation ( + ),concatenation,num_list = [
- List membership demo,membershipdemo,print 3 in [
- List value assignment and index reference,,L1 = [2,3,4]
- List: display one item through an index,displayitem,inventory =
- Tuple concatenation,tupleconcatenation,print (1, 2)
- Indexing a 2-item tuple,2-itemtuple,print ('x',
- Zip three tuples,zipthreetuples,T1, T2, T3 =
- enter all the data for dict3 at the same time,dict3same,dict3 = {3.
- dict() constructor builds dictionaries directly from lists of key-val
评论关闭