
Python
youthdou
年纪渐渐变大的程序员。
展开
-
Python 串口编程
一、安装串口模块参考: http://blog.youkuaiyun.com/jj10200410/article/details/8593490从http://pyserial.sourceforge.net/ 找到源码。具体步骤:A couple additional details I found necessary:1. In the Command Prompt原创 2014-05-12 14:58:10 · 1532 阅读 · 0 评论 -
Python常用用法(进制转换和时间)
一、进制转换1.1 转二进制>>> bin(15)>>> '0b1111'>>> bin(0xf)>>> '0b1111'1.2 十进制转十六进制>>> hex(15)>>> '0b1111'1.3 浮点数转整数>>> int(123.4)>>> 123二、时间原创 2014-12-01 13:47:30 · 1999 阅读 · 0 评论 -
文件拷贝
python文件、文件夹操作示例原创 2016-05-10 11:13:33 · 993 阅读 · 0 评论