Import sub-modules with alias. Is it a bug ? >>> >>> import json >>> from json import tool >>> -------- >>> >>> import json as sjson >>> from sjson import tool Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named sjson >>>