Steven D'Aprano added the comment: Correction: `importlib.import_module` is also available in Python 2.7. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27757> _______________________________________