- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 python中main函数的作用以及解释
python 中name == ‘__main__’ 的作用 经典的英文解释:Make a script both importable and executable 中文解释:使脚本可以被调用import并且也可以直接运行1、直接运行# cat test_fun.pydef fun(): print(__name__) print('this i...
2018-04-19 16:53:18 23825
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人