__init__.py

  • Thread starter Laughlin, Joseph V
  • Start date
L

Laughlin, Joseph V

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top