摘要: 问题 如果我们要给类加上一个属性,只需在定义的时候加上属性就可以了: class Animal: can_fly = True 如果这样的类有很多,我们可以定义一个父类,让其它类继承他就可以了: class FlyAnimal: can_fly = True class Bird(FlyAnima) 阅读全文
posted @ 2021-12-08 10:50 kingron 阅读(67) 评论(0) 推荐(0) 编辑
摘要: COUNT COUNT(*) 和 COUNT(1) 根据 MySQL 官方文档的描述: InnoDB handles SELECT COUNT(*) and SELECT COUNT(1) operations in the same way. There is no performance dif 阅读全文
posted @ 2021-09-23 18:19 kingron 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 一起来探索 Python 字典的奥妙吧 阅读全文
posted @ 2021-07-22 17:05 kingron 阅读(1440) 评论(0) 推荐(0) 编辑
摘要: 本文是小猿圈算法&数据结构数据结构部分学习笔记 阅读全文
posted @ 2021-07-22 13:17 kingron 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 彻底吃透垃圾回收 阅读全文
posted @ 2021-07-20 15:09 kingron 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 踩坑记 阅读全文
posted @ 2021-07-13 17:26 kingron 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 描述符技能你 get 了吗~ 阅读全文
posted @ 2021-07-06 10:48 kingron 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 记一点关于 ES6 的新特性~ 阅读全文
posted @ 2021-07-05 18:45 kingron 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 龟叔带你探索 Python 协程的奥妙~ 阅读全文
posted @ 2021-06-30 23:17 kingron 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 安卓逆向初体验~ 阅读全文
posted @ 2021-03-10 15:57 kingron 阅读(586) 评论(0) 推荐(0) 编辑