摘要: 详细参考https://www.cnblogs.com/boshen-hzb/p/6400272.html 阅读全文
posted @ 2019-02-16 10:40 Cucucu 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 详细参考https://www.jianshu.com/p/9deb6f41d5bd 阅读全文
posted @ 2019-02-16 10:39 Cucucu 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 详细命令参考http://www.runoob.com/docker/docker-command-manual.html 阅读全文
posted @ 2019-02-16 10:39 Cucucu 阅读(101) 评论(0) 推荐(0) 编辑
摘要: np.array.all()是对np.array中所有元素进行与操作,然后结果返回True或False np.array.any()是对np.array中所有元素进行或操作,然后结果返回True或False 详细参见博客https://blog.csdn.net/qq_17753903/articl 阅读全文
posted @ 2019-01-20 10:01 Cucucu 阅读(1896) 评论(0) 推荐(0) 编辑
摘要: 关于assert()函数的使用,主要参考博客https://blog.csdn.net/qq_37119902/article/details/79637578 assert函数主要是用来声明某个函数是真的,特别是实用于下列场景:如果非常确定使用的列表中至少含有一个元素,而且你想验证这一点,并且在其 阅读全文
posted @ 2019-01-16 21:18 Cucucu 阅读(6146) 评论(0) 推荐(0) 编辑
摘要: 在python 中,os.path.isdir(path)函数主要用来判断函数内部的path是否为一个目录 具体关于这个函数的解说参考博客https://blog.csdn.net/***_xujiping/article/details/81608390 阅读全文
posted @ 2019-01-16 16:58 Cucucu 阅读(932) 评论(0) 推荐(0) 编辑
摘要: logger模块是python内置的一个模块,主要用于输出运行日志,可以输出日志的等级,日志的保存路径等 具体详见博客https://www.cnblogs.com/qianyuliang/p/7234217.html logger.debug()函数就是用来配合log等级的输出, 阅读全文
posted @ 2019-01-16 16:55 Cucucu 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 内容主要参照博客https://blog.csdn.net/xxn_723911/article/details/78795033 http://www.runoob.com/python/os-walk.html os.listdir(path='')--获取文件路径 其中参数path为需要列出的 阅读全文
posted @ 2019-01-14 20:29 Cucucu 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 主要参照博客https://www.cnblogs.com/lindaxin/p/7975697.html http://wiki.jikexueyuan.com/project/explore-python/Standard-Modules/argparse.html argparse是pytho 阅读全文
posted @ 2019-01-14 20:15 Cucucu 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1. 虚函数表 C++的多态是通过一张虚函数表(virtual Table)来实现的,简称为V-Table,(这个表是隐式的,不需要关心其生成与释放)在这个表中,主要是一个类的虚函数的地址表,这张表解决了继承,覆写的问题,保证其真实反应实际的函数,这样,在有虚函数的类的实例中这个表被分配在了这个实例 阅读全文
posted @ 2019-01-13 12:52 Cucucu 阅读(261) 评论(0) 推荐(0) 编辑