[Python-Dev] Single .py file contains submodule?

Guido van Rossum guido@python.org
Thu, 30 May 2002 20:53:51 -0400

> So, is this an egregious abuse of a regrettable oversight in the
> specification, or a reasonable way to publish multiple modules from
> a single .py file?

I think it's much better to split it up in multiple files than to use
all those hacks.  Those hacks are hard to understand for someone
trying to read the code.

--Guido van Rossum (home page: http://www.python.org/~guido/)