One class one file?

MRAB python at mrabarnett.plus.com
Fri Oct 16 20:08:02 EDT 2009


Someone Something wrote:
> I'm trying write a program that's going to be more than 100 lines or so 
> but I need it all in one class. Is there a painless way to have one 
> class in two files?
> 
Python won't complain if you have more than 100 lines in one file, or
even in one class in one file. There are plenty of examples in the
standard library!



More information about the Python-list mailing list