python读取图像
2015-12-05 19:44
411 查看
from PIL import Image
img = Image.open('/Users/NaCl/Desktop/test.png')
img.show()
img = Image.open('/Users/NaCl/Desktop/test.png')
img.show()
相关文章推荐
- Python爬虫进阶一之爬虫框架Scrapy安装配置
- 定义 Model兼容python2.x和python3.x
- Mac 环境下下配置opencv +python
- python 字符串与16进制互转
- 通过python的obbc模块连接mysql数据库
- Climbing Stairs-python
- Python火车票代码
- Python 异常处理
- Python 文件I/O
- Python 模块
- Python函数
- Python 日期和时间
- Python 字典(Dictionary)
- Python 元组
- 【Python】Python 三种导入模块的方法和区别
- Python爬虫入门七之正则表达式
- python基础教程共60课-第7课if
- Python爬虫入门六之Cookie的使用
- python 函数式编程 高阶函数 装饰器
- python--更干净的词频统计