In other languages, I know, you can create a single namespace, and spread it across different files.
And in the python did not hear about such a possibility. Maybe I missed something, and in fact there is such an opportunity? If not, for what reason? I would like to know.
So that there is no dispute over the need for this, I will give an example of a quote from the book "Algorithms and Data Structures":
A namespace is a higher-level abstraction, since, in general, one namespace can combine objects defined in different files, on the other hand, objects from multiple namespaces can be defined in one file. Thus, the concepts of physical and logical modularity are orthogonal.
exec(but still not needed) - andreymal