import relst = ['http://img3m9.ddimg.cn/53/33/1354578839-1_x.jpg', 'http://img3m9.ddimg.cn/63/34/1354579839-1_x.jpg', 'http://img3m9.ddimg.cn/70/31/13 ...
分类:
其他好文 时间:
2017-11-25 23:42:33
阅读次数:
126
这两处地方要同时修改成一样的。 参考: http://blog.csdn.net/u011275152/article/details/45242201 ...
分类:
编程语言 时间:
2017-11-25 20:44:25
阅读次数:
352
Python生成随机验证码,需要使用PIL模块.安装:pip3 install pillow1 1pip3 install pillow基本使用1.创建图片 from PIL import Image #导入模块 img=Image.new(mode="RGB",size=(120,40),colo... ...
分类:
其他好文 时间:
2017-11-25 16:12:44
阅读次数:
123
Python下载地址(https://www.python.org/ftp/python/) 一、工具安装 1、Python的安装 2、安装setuptools下载链接 https://pypi.python.org/packages/ff/d4/209f4939c49e31f5524fa0027b ...
分类:
编程语言 时间:
2017-11-21 19:43:49
阅读次数:
197
随机验证码 一:首先需要安装模块PIL 二:创建图片 1,画点 2,画线 3,画圆 4,插入文本 5,插入定制文本 django实例:在图片上创建随即字符 函数实例 ...
分类:
其他好文 时间:
2017-11-20 21:47:11
阅读次数:
189
本篇主要讲解简单的验证码实现,验证码使用基本都是找现成的组件来实现,用代码实现这个简单功能主要是了解了解验证码内部的实现。 ...
分类:
其他好文 时间:
2017-11-20 20:20:36
阅读次数:
153
Python生成随机验证码,需要使用PIL模块. 安装: 1 pip3 install pillow 1 pip3 install pillow 1 pip3 install pillow 1 pip3 install pillow pip3 install pillow 基本使用 1. 创建图片 ...
分类:
其他好文 时间:
2017-11-20 20:18:58
阅读次数:
160
Python生成随机验证码,需要使用PIL模块.python3则是pillow 安装: ? 1 pip3 install pillow 基本使用 1. 创建图片 ? 1 2 3 4 5 6 7 8 9 from PIL import Image img = Image.new(mode='RGB', ...
分类:
其他好文 时间:
2017-11-20 19:02:28
阅读次数:
163
在codeblocks的settings中选择 compiler and debugger,选择compile setting 在其中有other options,在里面写上-std=c99 这样就可以使用c99标准来编译程序了 ...
分类:
其他好文 时间:
2017-11-20 17:48:03
阅读次数:
125
Python生成随机验证码,需要使用PIL模块. 安装: ? 1 pip3 install pillow 基本使用 1. 创建图片 ? 1 2 3 4 5 6 7 8 9 from PIL import Image img = Image.new(mode='RGB', size=(120, 30) ...
分类:
编程语言 时间:
2017-11-20 17:42:00
阅读次数:
202