摘要:
document:http://effbot.org/imagingbook/pil-index.htm http://pillow.readthedocs.io/en/3.1.x/index.html from PIL import Image 1.打开图片 img = Image.open(fi 阅读全文
posted @ 2016-10-13 11:13
Shiyu_Huang
阅读(611)
评论(0)
推荐(0)
摘要:
int(x [,base]) 将x转换为一个整数 long(x [,base] ) 将x转换为一个长整数 float(x) 将x转换到一个浮点数 complex(real [,imag]) 创建一个复数 str(x) 将对象 x 转换为字符串 repr(x) 将对象 x 转换为表达式字符串 eval 阅读全文
posted @ 2016-10-13 11:08
Shiyu_Huang
阅读(169)
评论(0)
推荐(0)


浙公网安备 33010602011771号