define class over 2 files
contact at xavierho.com
Tue Aug 18 06:58:58 CEST 2009
On Tue, Aug 18, 2009 at 2:45 PM, naveen <naveen.garg at gmail.com> wrote:
> Is it possible to split up a class definition over multiple files?
Answer in short, I don't think so.
Now why would you want to do that?
There is another solution - have a main class for shared methods, and have
other classes [in different files, perhaps] inherit from it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list