Module/package hierarchy and its separation from file structure

Ben Finney bignose+hates-spam at
Sat Jan 26 00:45:38 CET 2008

"Gabriel Genellina" <gagsl-py2 at> writes:

> You can also put, in animal/
> from monkey import Monkey
> and now you can refer to it as org.lib.animal.Monkey, but keep the
> implementation of Monkey class and all related stuff into
> .../animal/

This (as far as I can understand) is exactly the solution the original
poster desired to "shoot down", for reasons I still don't understand.

 \      "Reichel's Law: A body on vacation tends to remain on vacation |
  `\         unless acted upon by an outside force."  -- Carol Reichel |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list