O'Reilly logo
  • Chris Kang thinks this is interesting:

A package named P resides in a subdirectory, also called P, of some directory in sys.path


Cover of Python in a Nutshell, 3rd Edition


sys.path does not have an entry directly pointing to a package directory. It points to the parent path where the package directory is located.