See also: In Python, what exactly does "import *" import? In Python, what exactly does "import *" import?
adding _all_ to packages._init_:
__all__ = ['mod']
from packages import *
and module 'mod' will be imported, else 'mod' is not in the namespace of 'packages', but I can not explain why 'import *' without _all_ do not import 'mod'.
See also: In Python, what exactly does "import *" import?
adding _all_ to packages._init_:
__all__ = ['mod']
from packages import *
and module 'mod' will be imported, else 'mod' is not in the namespace of 'packages', but I can not explain why 'import *' without _all_ do not import 'mod'.
See also: In Python, what exactly does "import *" import?
adding _all_ to packages._init_:
__all__ = ['mod']
from packages import *
and module 'mod' will be imported, else 'mod' is not in the namespace of 'packages', but I can not explain why 'import *' without _all_ do not import 'mod'.
See also: In Python, what exactly does "import *" import?
adding _all_ to packages._init_:
__all__ = ['mod']
from packages import *
and module 'mod' will be imported, else 'mod' is not in the namespace of 'packages', but I can not explain why 'import *' without _all_ do not import 'mod'.