摘要: 本节给大家总结一下装饰器 # 在不更改原功能函数内部代码,并且不改变调用方法的情况下为原函数增加新的功能 def login(index): def fun(): user_name = 'python' pw = '123456' user = input('请输入帐号') password = 阅读全文
posted @ 2020-03-23 23:12 白加黑呀 阅读(350) 评论(0) 推荐(0) 编辑