One class one file?

MRAB python at mrabarnett.plus.com
Sat Oct 17 02:08:02 CEST 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