摘要:
主程序:main.py 模块程序: output 阅读全文
摘要:
Python自带的Json库会把json文件load成Unicode对象。如果想要变成str对象的话,就要自己去encode。祭出大法... #请叫我搬运工 def byteify(input): if isinstance(input, dict): return {byteify(key): b 阅读全文
摘要:
* * * * * sh run.sh * * * * * sleep 10; sh run.sh * * * * * sleep 20; sh run.sh * * * * * sleep 30; sh run.sh * * * * * sleep 40; sh run.sh * * * * * sleep 50; sh run.sh 阅读全文
摘要:
超级实用网站:http://man.linuxde.net/ 相关:https://linux.cn/ 原文:http://www.infoq.com/cn/news/2015/12/linux-performance?utm_campaign=infoq_content&utm_source=in 阅读全文
摘要:
link:http://www.jb51.net/article/66457.htm 对于ASCII码(0~255范围) >>> print ord('A')65>>> print chr(65)A 对于Unicode字符,注意仅接收长度为1的Unicode字符 >>> print ord(u'\u 阅读全文
摘要:
链接:http://www.doc88.com/p-801578373970.html 一.英文 Unicode范围: 0041-005A, 0061-007A (若含数字与符号,则为0021-007E) locale编码: ANSI 1. ANSIHTML charset: us-asciiRTF 阅读全文
摘要:
链接:http://www.cnblogs.com/zl0372/p/unicode.html 链接:http://www.unicode.org/ 链接:https://zh.wikipedia.org/wiki/Unicode%E5%AD%97%E7%AC%A6%E5%88%97%E8%A1%A 阅读全文
摘要:
原文:http://lukejin.iteye.com/blog/598303 在处理中文的时候,我们有时候会碰到中文乱码的问题。 究其根本原因是正确的字节序列按照错误的编码方式解码成字符 或者正确的字符被错误的编码成字节序列导致信息的丢失,然后不管如何解码都无法恢复。 字节序列常见于保存在磁盘上的 阅读全文
摘要:
81 3 5 7 8 9 9 67 阅读全文