PIL:Python Imaging Library,Python平台上图像处理标准库,L功能非常强大,API简单易用.一、安装PIL 可通过 easy_install 、 pip、PIL官方网站下载exe安装包等方法安装二、图像操作 1、缩放操作:>>> import Image>>> i... Read More
posted @ 2015-11-27 19:57 超超xc Views(485) Comments(0) Diggs(0) Edit
一、collections:内建集合模块. 1、namedtuple:创建一个自定义的tuple对象 2、deque:为了高效实现插入和删除操作的双向列表,适合用于队列和栈 3、defaultdict:Key不存在时返回默认值 4、OrderedDict:保持Key的顺序 5、Counte... Read More
posted @ 2015-11-27 19:17 超超xc Views(1594) Comments(0) Diggs(0) Edit
I suppose,were childrenonec.