Hi Martin,

I don't think that's possible, since a file is executed when it is  
imported. If you load a file which contains a "partial" class, you  
will get an error because the indentation is incorrect, or the  
methods will be loaded in the wrong namespace.

Regards,
Michiel

Op 7-aug-2006, om 15:41 heeft Martin Höfling het volgende geschreven:

> Hi there,
>
> is it possible to put the methods of a class in different files? I  
> just
> want to order them and try to keep the files small.
>
> Regards
>       Martin
> -- 
> http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to