Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > __init__.py

Reply
Thread Tools

__init__.py

 
 
Laughlin, Joseph V
Guest
Posts: n/a
 
      07-06-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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments