__init__.py

Robert Brewer fumanchu at amor.org
Tue Jul 6 23:39:01 CEST 2004


Joseph V Laughlin wrote:
> I'm browsing through a python program that's broken up into many
> subdirectories and files.  In one of the higher-level directories is a
> file called __init__.py.  Does this file have any special purpose?
> 
> Contents of __init__.py is:
> __all__ = ["list", "of", "subdirectories"]

http://docs.python.org/tut/node8.html#SECTION008400000000000000000


FuManChu



More information about the Python-list mailing list