
Head_First_Python
长剑废水
这个作者很懒,什么都没留下…
展开
-
Head_First_Python学习笔记(一)
列表操作:>>> movies= ['the holy grail','the life of brain','the meaning of life’]>>> movies.insert(1,1975)>>> movies.insert(3,1979)>>> movies.append(1983)>>> movies['the holy grail', 1975, 'the life原创 2015-05-13 07:07:17 · 848 阅读 · 0 评论 -
Head_First_Python学习笔记(四)
使用字典>>> import print_detail >>> james2 = print_detail.print_detail('james2')>>> james2['James Lee', '2002:3:14', '2:34', '3:21', '2:34', '2:45', '3:01', '2:01', '2:01',原创 2015-05-15 11:08:48 · 1581 阅读 · 0 评论 -
Head_First_Python学习笔记(三)
使用pickle保存,读取文件#dump.pyimport pickletry: with open('data.pickle','wb') as data: pickle.dump([1,2,'three'],data)except IOError as err: print('file error:' + str(err))excep原创 2015-05-14 11:06:11 · 936 阅读 · 0 评论 -
python自动生成iOS各尺寸规格icon
使用python自动生成iOS各尺寸规格icon(基于一张1024大图)原创 2015-06-01 08:49:48 · 1652 阅读 · 0 评论