摘要:
1.安装,直接easy_install PILLOW 2.导入,from PIL import Image 阅读全文
posted @ 2017-04-26 12:32
水工
阅读(157)
评论(0)
推荐(0)
摘要:
decode encode bytes >string >bytes decode('xxx'):将xxx转化成unicode encode('xxx'):将unicode转化成xxx 举例:百度,读取的文本乱码 con.text.encode('ISO-8859-1').decode('utf-8 阅读全文
posted @ 2017-04-26 11:30
水工
阅读(176)
评论(0)
推荐(0)