__all__ is a module-level sequence that controls which names a wildcard import exposes. It lets a module distinguish its public names from other definitions. section 8.10
Select names exported by a wildcard import
Define a module named stuff with variables a, b, and c, plus functions foo and bar. Set __all__ so that: __all__ = ['a', 'c', 'bar'] Then from stuff import * imports a, c, and bar, while excluding b and foo. section 8.10
Use the exercise to practice:
- Creating a module with variables and functions. section 8.10
- Choosing an explicit export set for from stuff import *. section 8.10


