24 Nov
2003
24 Nov
'03
4:53 p.m.
On Monday 24 November 2003 16:21, David Little wrote:
I am developing a project which I have split into two products to avoid having too many files in one place. I want to use a common base class in each but I can't find out to do this while keeping all three product directories together.
There is something about multiple product directories the archives: " If you are prepared to edit Products/__init__.py add a line: __path__.append('yourpathhere') "
Is there a simpler way to do this?
Its as easy as - inside Products/Product1/FileX.py: from Product.Product2.FileY import CommonBaseClass -- Toby Dickenson