上一页 1 ··· 561 562 563 564 565 566 567 568 569 ··· 639 下一页
摘要: 需求:当实例化子类时,需要让父类调用实现子类方法或子类没有实现调用的方法调父类的方法的需求。 注意:此代码来源Tornado源码 一... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(28) 评论(0) 推荐(0)
摘要: 题目:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少? for i in range(1,5): ... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(47) 评论(0) 推荐(0)
摘要: 题目:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少? for i in range(1,5): ... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(45) 评论(0) 推荐(0)
摘要: 解析一个database的xml文件 """ localhost root 111... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(28) 评论(0) 推荐(0)
摘要: 解析一个database的xml文件 """ localhost root 111... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(32) 评论(0) 推荐(0)
摘要: 一:储备知识 **1.*args, kwargs def index(x,y): print(x,y)def wrapper(... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(43) 评论(0) 推荐(0)
摘要: 一:储备知识 **1.*args, kwargs def index(x,y): print(x,y)def wrapper(... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(34) 评论(0) 推荐(0)
摘要: 一:知识储备 由于语法糖@的限制,outter函数只能有一个参数,并且该才是只用来接收被装饰对象的内存地址 def outter(f... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(35) 评论(0) 推荐(0)
摘要: 一:知识储备 由于语法糖@的限制,outter函数只能有一个参数,并且该才是只用来接收被装饰对象的内存地址 def outter(f... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(18) 评论(0) 推荐(0)
摘要: 一:递归的定义 函数的递归调用:是函数嵌套调用的一种特殊形式 具体是指:在调用一个函数的过程当中,又直接或者间接地调用到了本身 Py... 阅读全文
posted @ 2022-10-07 20:31 I'm_江河湖海 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 561 562 563 564 565 566 567 568 569 ··· 639 下一页