Why NOT only one class per file?

Chris Lasher chris.lasher at gmail.com
Mon Apr 9 04:41:54 CEST 2007

On Apr 4, 5:23 pm, "Chris Lasher" <chris.las... at gmail.com> wrote:
> A friend of mine with a programming background in Java and Perl places
> each class in its own separate file in . I informed him that keeping
> all related classes together in a single file is more in the Python
> idiom than one file per class. He asked why, and frankly, his valid
> question has me flummoxed.
> [snip]
> Thoughts, comments, and insight much appreciated,
> Chris

Thanks to all who replied and made this a very interesting and
informative discussion! It gave my friend, and myself, plenty to think

Much appreciated,

More information about the Python-list mailing list