O'Reilly logo
  • Longxiang Lyu thinks this is interesting:

When packages are imported, it is a list of the directories that are found in the package’s __path__ attribute


Cover of Python Cookbook, 3rd Edition


if module is a package, path is set to None, else path is set to path of parent package