- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 python 中文处理----全角半角以及查看编码值
1. 对utf-8 而言,半角全角对所有中文字都是一样的,而对于英文和标点以及特殊符号的编码值是不一样的2. 用repr查看编码值3. \u表示 unicode编码,\x是utf8编码
2015-06-10 23:39:45 1753
原创 python 处理中文需要注意的编码问题
ref: http://wklken.me/posts/2013/08/31/python-extra-coding-intro.htmlnote:主要分str 和 unicode两种类型。用type来查看str是又unicode encode之后得到的。所以str不能encode,而unicode不能decode进来的string,全部用decode(“utf-8”)转换成unicode
2015-06-05 17:18:36 518
转载 如何在没有root权限的情况下安装numpy 和scipy python module
参考: http://www.hongliangjie.com/2012/04/01/install-numpy-and-scipy-on-centos-without-root-privilege/Sometimes you want to install Numpy and Scipy on a remote CentOS machine without root privilege, whi
2015-06-03 14:55:14 3071
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人