__init__.py

Laughlin, Joseph V Joseph.V.Laughlin at boeing.com
Tue Jul 6 20:29:22 CEST 2004


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"]

Joe Laughlin
NCO Simulation Labs
Integrated Defense Systems
The Boeing Company






More information about the Python-list mailing list