会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
愁倚西风望芙蓉
博客园
首页
新随笔
联系
管理
2014年12月20日
python读取中文
摘要: 如何从文件中读取300个汉字?看起来很简单,但很容易掉坑里了。一开始我这么写:1 try:2 fd = codecs.open(os.path.join(settings.TEXT_CONTENT_DIR,channel_name.lower(), article_id), ...
阅读全文
posted @ 2014-12-20 22:57 楚
阅读(3806)
评论(0)
推荐(0)
编辑
公告