Created
July 23, 2016 03:12
-
-
Save a1exlism/45780fff0538ea493627a0936b5a8a7b to your computer and use it in GitHub Desktop.
Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if __name__ == '__main__' | |
| 判断是否是在直接运行该.py文件 | |
| __name__ 算是个全局变量, 如果为直接运行 python SELF.py 则判断为1 | |
| //--- delay---// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment