好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

python property

python property

http://codefork测试数据/blog/index.php/2007/12/05/pimping-pythons-property/

ubuntu gb2312 gbk 编码安装

2010 - 07 - 14

Ubuntu中安装GBK locale 文章分类: 操作系统

Ubuntu默认安装的中文环境为zh_CN.utf8,然后很多windows 的文档还是以GB2312或GBK编码保存的,因此十分有必要

在Ubuntu下生成GBK或GB2312的locale.具体方法如下:

1.修改/var/lib/locales/supported.d/local文件,在文件中添加

zh_CN.GBK GBK

zh_CN.GB2312 GB2312

2.sudo dpkg-reconfigure --force locales

然后在输出的结果中会出现

zh_CN.GB2312 done

zh_CN.GBK done    

查看更多关于python property的详细内容...

  阅读:43次

上一篇: 正文提取

下一篇:爬虫 302跳转