is it possible to dividing up a class in multiple files?
Bruno Desthuilliers
onurb at xiludom.gro
Mon Aug 7 10:23:43 EDT 2006
Martin Höfling wrote:
> Hi there,
>
> is it possible to put the methods of a class in different files? I just
> want to order them and try to keep the files small.
Technically, yes - but in a somewhat hackish way.
But you *really* should not have such a need at first. Smells like a
design (or coding) problem to me - FWIW, very few of my source files are
> 1 KLOC, and they usually contains many classes, functions and other
definitions.
More information about the Python-list
mailing list