python binascii中uu, basse64, qp, hqx 编码与解码
python的binascii模块中包含了几种二进制与可打印字符串相互转换的几种常用编解码函数。dir查看一下 […]
人生没有原因,闯出一路精彩
python的binascii模块中包含了几种二进制与可打印字符串相互转换的几种常用编解码函数。dir查看一下 […]
在做树莓派摄像头把图片通过socket传送时,需要把图片变成二进制, 这时用到了struct, 以下是stru […]
ctype模块可以让python 调用c写的动态库。主要是对应两种语言的基本数据类型,指针,函数指针,结构体等 […]
因为要用树莓派连接微软的SQL server服务器做一些事,用python连接。 首先安装: [crayon- […]
https://docs.scipy.org/doc/numpy-dev/user/quickstart.ht […]
From example OpenCV “opencv_version.py“. ma […]
看这就好, 很容易懂: https://docs.python.org/3/howto/logging.htm […]
https://my.oschina.net/yangting880815/blog/465122 http: […]
https://my.oschina.net/guol/blog/95699
16进制字符串转10进制整数:
1 2 3 4 5 6 7 8 9 10 |
>>> int(0xff) 255 >>> int('0xff') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid literal for int() with base 10: '0xff' >>> int('0xff',16) 255 >>> long(0x55) 85L |
10进制整数 […]
把对象转成字符串。 str() function is meant to return representat […]
Doc: https://docs.python.org/2/library/binascii.html py […]
http://www.wklken.me/posts/2012/02/19/python-ini-config […]
参考阅读: http://www.01happy.com/php-post-request-get-json- […]
Doc: https://docs.python.org/2/library/subprocess.html# […]
http://codingpy.com/
Doc: https://docs.python.org/2/library/shutil.html#modu […]
Doc: https://docs.python.org/2/library/os.html?highligh […]
Doc: https://docs.python.org/2/library/fnmatch.html#mod […]
Doc: https://docs.python.org/2/library/glob.html 列出指定路径 […]