Xiao Ming. Py
Friends think you are xiao Ming (__name__ = = ‘Ming’), your eyes you are your own (__name__ = = “__main__ ‘),
You are good at programming, your friend asks you to write programs for him (import Xiaoming, then you are in the eyes of your friend: __name__ == ‘xiaoming ‘), but you also open xx website at night and do some things of your own (directly run xiaoming. Py, __name__ == ‘__main__’).
Author: zhihu user link: www.zhihu.com/question/49… The copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please indicate the source.