Hey, get this!

Bernhard Herzog bh at intevation.de
Thu Feb 3 09:02:11 EST 2005


Bernhard Herzog <bh at intevation.de> writes:

> Steve Holden <steve at holdenweb.com> writes:
>>          if package:
>>              module.__path__ = sys.path
>
> You usually should initialize a package's __path__ to an empty list.

Actually, normally it's a list that contains the name of the package
directory as its only item.  I'm not sure what you should do when you do
not import from a file system.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/



More information about the Python-list mailing list