The docs say: Packages are a way of structuring Python’s module namespace by using “dotted module names”. For example, the module name A.B designates a submodule named B in a package named A.
A package is defined in the docs a dir with some either subdirs or files. Those subdirs would be subpackages, following this convention. A submodule then would be a module in the subdir, or the subpackage?
Would it be more clear to say module name A.B designates a module named B in a package named A?
And suppose dir A has a subdir C which contains file D, then one would say D, fully A.C.D, is a submodue of A?