PythonNote019--Python中main

介绍-if __name__ == '__main__'的用法,Talk is cheap,Show me the code. 两个脚本:python file one.py # file one.py def func(): print("func() in one.py") print("top-level in one.py") if __name__ == "__mai
相关文章
相关标签/搜索