define class over 2 files
Xavier Ho
contact at xavierho.com
Tue Aug 18 00:58:58 EDT 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.
Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090818/1c1b9b92/attachment-0001.html>
More information about the Python-list
mailing list