define class over 2 files

naveen naveen.garg at gmail.com
Tue Aug 18 09:04:56 CEST 2009


> > Is it possible to split up a class definition over multiple files?
>
> Not exactly, but you can do variations of this:
... [subclass a class]
> Steven

Thanks Steven.
I guess I will just preprocess the script:
<class.sh>
cat partA.py > class.py
cat partB >> class.py
python class.py
</class.sh>




More information about the Python-list mailing list