Best practice in organize classes into modules

Steven Woody narkewoody at gmail.com
Fri Jan 9 06:09:06 CET 2009


On Fri, Jan 9, 2009 at 1:02 PM, James Mills
<prologic at shortcircuit.net.au> wrote:
> On Fri, Jan 9, 2009 at 2:57 PM, Steven Woody <narkewoody at gmail.com> wrote:
>> In C++/Java, people usually put one class into one file.  What's the
>> suggestion on this topic in Python?  I so much interesting this
>> especially when exception classes also involved.
>
> Normally i group related functionality into the one module.

Will that lead to too large source file size?  Is there a
recommendation on max lines of a python source?  Thanks.

> I do try to keep my std dev. as low as I can though
> if that makes any sense.
>
> cheers
> James
>



More information about the Python-list mailing list