Python Style Question

K-Dawg kdawg44 at gmail.com
Thu Jan 22 10:48:30 EST 2009


I am trying to become more pythonic as I learn python and get my mind around
it instead of other languages I have used.

I have an app that has a series of classes for objects it uses.  From a
style perspective, which should be done:

Different py file for each class

or

One py file with all the classes

The classes are small with a constructor and a few methods, no more than a
couple, some with just one other method.

Which is more "pythonic"?

Thanks.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090122/bb10bb62/attachment.html>


More information about the Python-list mailing list