python
sparrowwf
这个作者很懒,什么都没留下…
展开
-
python使用杂谈笔记
一. import as配合try except try: from greenlet import getcurrent as get_ident except ImportError: try: from thread import get_ident except ImportError: from _thread import g...翻译 2018-09-05 15:43:25 · 183 阅读 · 0 评论 -
python的log打印工程化模块设置
在工程启动模块中添加一下代码 from logging.handlers import RotatingFileHandler logging.getLogger(None).setLevel(logging.INFO) ######################################################################################...原创 2019-02-12 11:20:28 · 214 阅读 · 0 评论 -
编译支持GPU的python3的OpenCV库
参考资料 https://www.pyimagesearch.com/2016/07/11/compiling-opencv-with-cuda-support/ 关键步骤记录 1.ippicv_2019_lnx_intel64_general_20180723.tgz下载地址: https://raw.githubusercontent.com/opencv/opencv_3rdp...翻译 2019-04-23 14:23:15 · 3314 阅读 · 0 评论