import *
. It overrides the default of hiding everything that begins with an underscore.__all__
in a module, e.g. module.py
:__all__ = ['foo', 'Bar']
import *
from the module, only those names in the __all__
are imported:from module import * # imports foo and Bar