[Zope3-dev] Importing
Chris Withers
chrisw@nipltd.com
Fri, 14 Dec 2001 16:12:26 +0000
Guido van Rossum wrote:
>
> > > Assuming you have picked a unique name for your product (like
> > > "myproduct" :-), what's wrong with changing all your imports to
> > >
> > > from myproduct.base import FolderyContent
> >
> > Does that work even though myproduct isn't directly on any python path?
>
> The whole idea is that myproduct *is* in a directory on sys.path.
Does that mean that subpackages are bad in general or only where you can
potentialyl use them in multipel locations?
I think I agree with you now, but there's somethign nagging which I just can put
my finger on :-S
How frustrating...
Chris