multiple namespaces within a single module?
__peter__ at web.de
Thu Feb 9 20:33:27 CET 2012
> is it possible to have multiple namespaces within a single python
Unless you are abusing classes I don't think so.
> I have a small app which is in three or four .py files. For various
> reasons I would like to (perhaps optionally) combine these into one
Rename your main script into __main__.py, put it into a zip file together
with the other modules and run that.
More information about the Python-list