python-__name__

1. __name__ is a built-in attribute of each module,

When the module is executed as a top-level file, __name__ is set to the string __main__

When the module is imported, __name__ will be changed to the module name understood by the client


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325941267&siteId=291194637