PIL模块
1.抓取图片, 安装PIL模块
http://pythonware.com/products/pil/
2.在py文件前写 from PIL import Image
3.把PIL文件夹从python27 site-library拷贝到虚拟环境文件夹
PIL官方文档:http://effbot.org/imagingbook/
廖雪峰
http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00140767171357714f87a053a824ffd811d98a83b58ec13000
http://pythonware.com/products/pil/
2.在py文件前写 from PIL import Image
3.把PIL文件夹从python27 site-library拷贝到虚拟环境文件夹
PIL官方文档:http://effbot.org/imagingbook/
廖雪峰
http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00140767171357714f87a053a824ffd811d98a83b58ec13000
评论
发表评论