随笔分类 - 转载
摘要:https://www.cnblogs.com/Alight/p/4802414.html
阅读全文
摘要:https://blog.csdn.net/xiaqunfeng123/article/details/54315390/ 运行指定的命令,如果在指定时间后仍在运行,则杀死该进程。用来控制程序运行的时间。
阅读全文
摘要:https://blog.csdn.net/guoqianqian5812/article/details/79484357
阅读全文
摘要:https://www.runoob.com/markdown/md-block.html
阅读全文
摘要:https://blog.csdn.net/qq_38161409/article/details/81062932 SQL语句中TIMESTAMP类型提供一种类型,你可以使用它自动地用当前的日期和时间标记INSERT或UPDATE的操作,它有两个属性,一个是 1.CURRENT_TIMESTAMP
阅读全文
摘要:列出ansible所支持的模块 ansible-doc -l 查看模块的详细帮助信息,比如查看fetch模块的帮助 ansible-doc -s fetch 调用模块,比如调用ping模块 ansible all -m ping 调用模块的同时传入模块所需要的参数,以fetch模块为例 ansibl
阅读全文
摘要:所有的迭代器都是可迭代的 迭代器模式 实现一个自定义的迭代器模式需要两个类,分别为实现了__iter__方法的类和通过__iter__返回的迭代器实例类(实现了__iter__和__next__方法)。下面例子简单实现了上述功能。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1
阅读全文
摘要:https://www.cnblogs.com/xuchunlin/p/6676304.html zip 利用在创建字典 for k,v in zip(a,b): new[k]-v print new
阅读全文
摘要:https://blog.csdn.net/moxiliushui/article/details/82432783 、
阅读全文
摘要:https://blog.csdn.net/moxiliushui/article/details/82432783
阅读全文
摘要:https://blog.csdn.net/kobe_back/article/details/107017384
阅读全文
摘要:https://www.runoob.com/python/python-func-super.html
阅读全文
摘要:https://www.cnblogs.com/shenxiaolin/p/9307496.html 1、继承自object的新式类才有__new__
阅读全文
摘要:https://www.cnblogs.com/shenxiaolin/p/9307496.html
阅读全文
摘要:https://www.cnblogs.com/huchong/p/8244279.html 转载
阅读全文
摘要:https://www.cnblogs.com/yuanrenxue/p/10696430.html 经典:https://blog.csdn.net/qq_32799165/article/details/103674892 究其原因,原来是这个函数的默认值只在函数被加载时调用一次,之后若不传值则
阅读全文
摘要:https://www.cnblogs.com/1208xu/p/12045127.html
阅读全文
摘要:https://www.py.cn/jishu/jichu/13590.html
阅读全文
摘要:https://www.cnblogs.com/kongk/p/8645202.html
阅读全文
摘要:https://baijiahao.baidu.com/s?id=1663301842394473901&wfr=spider&for=pc https://baijiahao.baidu.com/s?id=1632202821149743997&wfr=spider&for=pc 一:首先最根本上
阅读全文
浙公网安备 33010602011771号