If you want to import only specific Python objects when using import *, insert __all__ in the script that Python objects are imported from.
import *
__all__
The code above is an example of using __all__.