技术宅,fat-man

增加语言的了解程度可以避免写出愚蠢的代码

导航

2014年10月22日 #

python将图片转为base64编码

摘要: import base64f = open("m1.jpg", "rb")res = f.read()s = base64.b64encode(res)f = open("hello.txt","w")f.write(s) 阅读全文

posted @ 2014-10-22 11:26 codestyle 阅读(1984) 评论(0) 推荐(0) 编辑