会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
白板的学习笔记
将人类的智慧讲给电脑听
首页
新随笔
联系
订阅
管理
2015年4月30日
留个python的编码坑 慢慢填
摘要: #coding=utf-8s = u'你好'f = open("F:/123.txt",'w+')f.write(s.encode('utf-8'))f.close()====================#-*- coding: UTF-8 -*-a = open("F:/123.txt","w...
阅读全文
posted @ 2015-04-30 11:02 Mr.白板
阅读(193)
评论(0)
推荐(0)
编辑