2021年11月7日
摘要: 1、__name__ 举例 test01.py文件中 def test(): print(__name__) test() 输出结果:__main__ test02.py文件中 import test01 #此处相当于把test02中文件内容复制过来了 test01.test() 输出结果: tes 阅读全文
posted @ 2021-11-07 14:55 小呆呆yy 阅读(562) 评论(0) 推荐(0) 编辑