http://docs.python.org/3/reference/import.html the import documentation __file__ imported http://docs.python.org/3/reference/import.html import https://docs.python.org/3/reference/import.html#submodules imports language reference and how modules interact Python 3 Import Process __path__ https://docs.python.org/3/reference/import.html#importlib __name__ https://docs.python.org/3/reference/import.html 此处 __file__ Python Language Reference 此处 the import documentation imported https://docs.python.org/3/reference/import.html#submodules https://docs.python.org/3/reference/import.html https://docs.python.org/3/reference/import.html official definition of a package __path__ language reference official definition of a package mécanisme d'import import system Python 3 Import Process https://docs.python.org/3/reference/import.html#searching http://docs.python.org/3/reference/import.html its own search rules for resolving a module import import system The Import System: Submodules this documentation employs python-import The import system - Python 3 documentation __file__ The import system __file__ the import system Python __file__ __name__ https://docs.python.org/3/reference/import.html#packages Python 3 Import Process __path__