Split class across multiple files

eric.frederich eric.frederich at gmail.com
Fri Nov 20 17:14:23 CET 2009


I have a class which holds a connection to a server and a bunch of
services.
In this class I have methods that need to work with that connection
and services.

Right now there are about 50 methods some of which can be quite long.
>From an organizational standpoint, I'd like to have method
implementations in their own files.

Is this possible?  It is recommended?  Should I just stop worrying
about it and have a 5,000 line class?



More information about the Python-list mailing list