Hide external modules when importing a module (e.g. regarding code-completion)
问题 I have several modules in one package (a kind of a toolkit), which I use in my projects. The structure looks like this: the_toolkit: __init__.py basic_io.py simple_math.py matrix_kit.py ... Now when I use IPython or the code completion in VIM after importing a module from the package with from the_toolkit import matrix_kit I get a bunch of modules/functions which matrix_kit.py imports ( array , math , log , loggin , format_exc , etc.), along with the actual functions which matrix_kit defines.