随笔分类 -  python

摘要:python中if __name__ == '__main__' python 中__name__ = '__main__' 的作用,到底干嘛的? 有句话经典的概括了这段代码的意义: “Make a script both importable and executable” 意思就是说让你写的脚本 阅读全文
posted @ 2018-12-03 16:20 Peng007 阅读(263) 评论(0) 推荐(0)