[Please note that the code in this blog post is now up on PyPI as part of the modutil library [https://pypi.org/project/modutil/]] One of the new features in Python 3.7 [https://docs.python.org/3.7/whatsnew/3.7.html] is PEP 562 [https://www.python.org/dev/peps/pep-0562/] which adds support for __getattr__() and __dir__() on modules. Both open up some interesting possibilities. For instance, with __dir__() you can now have dir() only show what __all__ defines. But being so immersed in Python'