[Zope3-dev] Importing

Guido van Rossum guido@python.org
Thu, 13 Dec 2001 14:07:58 -0500


> > 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.

--Guido van Rossum (home page: http://www.python.org/~guido/)