在微信公众号看到的一篇文章,想想自己也用过这么多验证码的轮子了,却没有从零开始实现一个验证码,所以自己动手码了一遍,的确加深了了解. "参考文章" 完整代码 import string import random from PIL import Image, ImageDraw, ImageFont ...
分类:
其他好文 时间:
2019-09-06 12:57:51
阅读次数:
85
很多时候,比如网络不给力,连接超时、防火墙阻挡等等各种原因,我们可能无法从Python官方的PyPi仓库进行pip安装,这时候可以选择国内的第三方源,推荐使用豆瓣源,速度不错。 使用方法: 需要注意的是,除了最后的pillow用你所期望的库名替代外,前面的参数都是固定写法,包括参数顺序。 ...
分类:
编程语言 时间:
2019-09-05 23:04:47
阅读次数:
524
PIL(Python Imaging Library)是Python一个强大方便的图像处理库,只支持到Python2.7。
Pillow是PIL的一个派生分支,在Python3标准库中用Pillow代替PIL。
Pillow官网:https://pillow.readthedocs.io/en/... ...
分类:
编程语言 时间:
2019-09-01 23:39:08
阅读次数:
202
按照下面指令安装 conda create --name=labelme python3.6(根据下载的python版本而定) activate labelme conda install pyqt conda install pillow pip install labelme 删除坏境 cond ...
分类:
其他好文 时间:
2019-09-01 18:45:57
阅读次数:
341
numpy https://pypi.org/project/numpy/#files PIL https://pypi.org/simple/pillow/ cv2 https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/ openpyxl h ...
分类:
编程语言 时间:
2019-08-30 23:21:59
阅读次数:
611
pillow Pillow是PIL的一个派生分支,但如今已经发展成为比PIL本身更具活力的图像处理库。pillow可以说已经取代了PIL,将其封装成python的库(pip即可安装),且支持python2和python3,目前最新版本是3.0.0。 Pillow的Github主页:https://g ...
分类:
编程语言 时间:
2019-08-29 23:01:34
阅读次数:
131
From "a good doctor" 1.You are her escape. 你帮她逃出(某种情绪)。 2.Put it behind yourself and look forward. 放下(某件事)并向前看。 3.Move forward by not looking back. 前进 ...
分类:
其他好文 时间:
2019-08-27 10:40:22
阅读次数:
97
ModuleNotFoundError: No module named 'PIL' 解决方法: 运行命令:pip install Pillow IndentationError: expected an indented block 解决方法:注意缩进对齐 ...
分类:
编程语言 时间:
2019-08-22 23:33:05
阅读次数:
125
知识来源:https://zhuanlan.zhihu.com/p/73975013 1.环境 os:MAC tool:python 3.7 ,pip3.7 2.前提: 使用pip3.7 install pillow and wxpy 模块 3.开始: ...
分类:
微信 时间:
2019-08-19 23:07:48
阅读次数:
228
更换PIP源 PIP源在国外,速度慢,可以更换为国内源,以下是国内一些常用的PIP源。 豆瓣(douban) http://pypi.douban.com/simple/ (推荐) 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云 http://m ...
分类:
其他好文 时间:
2019-08-19 13:21:40
阅读次数:
325