摘要:
"""一、debug1、下一步:Step over F82、跳进函数内部:Step into F73、继续程序执行,直到遇到下一个断点就停住 F9""" """__name__与__main__是什么一、类和对象1、类:拥有相同特点或者属性的一类事务的集合(抽象) 人类、动物(猫、狗)、车(汽车、自 阅读全文
posted @ 2021-07-16 00:28
阿炳~
阅读(60)
评论(0)
推荐(0)
摘要:
"""一、模块导入1、概念 包:__init__.py 文件是包的标识符,__init__.py会自动执行 模块:.py结尾的文件就叫模块 结构:项目/包/模块2、模块导入 2.1、模块分类 python自带模块:time 第三方模块:requests 自定义的模块 2.2、语法 import 模块 阅读全文
posted @ 2021-07-16 00:16
阿炳~
阅读(243)
评论(0)
推荐(0)
摘要:
"""一、拆包1、result = test01(*list_test) list_test = [1, 3, 4, 6, 8] def test(*args): return args print(test(1, 3, 4, 6, 8)) result = test(*list_test) # 等 阅读全文
posted @ 2021-07-16 00:14
阿炳~
阅读(79)
评论(0)
推荐(0)

浙公网安备 33010602011771号