The role and usage of package __init__
init major role in .py it is:
-
The identifier of the package in Python cannot be deleted
-
Define __all__ to fuzzy import
-
Write Python code (it is not recommended to write python module in __init__, you can create another module in the package to write, try to keep __init__.py simple)