代码改变世界

随笔分类 -  python

Win10下用Anaconda安装TensorFlow

2018-06-05 22:12 by nigaopeng, 292 阅读, 收藏,
摘要: https://blog.csdn.net/u010858605/article/details/64128466 阅读全文

06-python opencv 使用摄像头捕获视频并显示

2018-06-05 10:53 by nigaopeng, 603 阅读, 收藏,
摘要: https://blog.csdn.net/huanglu_thu13/article/details/52337013 阅读全文

python @修饰符的几种用法

2018-06-05 10:50 by nigaopeng, 832 阅读, 收藏,
摘要: http://www.360doc.com/content/17/0715/16/10408243_671545922.shtml http://www.cnblogs.com/Egbertbaron/p/7242445.html 阅读全文

Ubuntu 16.04 安装 PyCharm

2018-06-05 10:47 by nigaopeng, 179 阅读, 收藏,
摘要: https://blog.csdn.net/zhuanshu666/article/details/73554885 阅读全文

Python判断变量的数据类型的两种方法

2018-06-05 10:43 by nigaopeng, 491 阅读, 收藏,
摘要: https://www.cnblogs.com/jessicaxu/p/7727264.html 阅读全文

ANSI的Escape序列屏幕控制码

2018-03-14 13:35 by nigaopeng, 633 阅读, 收藏,
摘要: http://blog.csdn.net/lano2088/article/details/51985563 https://www.cnblogs.com/pied/p/4175641.html http://pyserial.readthedocs.io/en/latest/pyserial.h 阅读全文

python marshal 对象序列化和反序列化

2017-12-26 13:50 by nigaopeng, 1121 阅读, 收藏,
摘要: 有时候,要把内存中的一个对象持久化保存到磁盘上,或者序列化成二进制流通过网络发送到远程主机上。Python中有很多模块提供了序列化与反序列化的功能,如:marshal, pickle, cPickle等等。今天就讲讲marshal模块。 注意: marshal并不是一个通用的模块,在某些时候它是一个 阅读全文

Python日志输出——logging模块

2017-07-28 20:12 by nigaopeng, 1452 阅读, 收藏,
摘要: 1. logging介绍 Python的logging模块提供了通用的日志系统,可以方便第三方模块或者是应用使用。这个模块提供不同的日志级别,并可以采用不同的方式记录日志,比如文件,HTTP GET/POST,SMTP,Socket等,甚至可以自己实现具体的日志记录方式。 logging模块与log 阅读全文