human
I wrote the below code

    def show_fail():
        traceback.print_exc()
        print('Could    not    import    module:', name)
    def do_import2(base_name, names_to_try):
        if (len(names_to_try) == 0):
            print('Module    not    found:', base_name)
            return False
        name = names_to_try.pop(0)
        if (name in sys.modules):
            return name
        try:
            __import__(name, level=0)
            return name
        except ImportError:
            message = str(sys.exc_info()[1].args[0])
            s = message.rsplit('    ', 1)
            if ((s[0] == 'No    module    named') and (name.endswith(s[1]) or __pypy__)):
                return do_import2(base_name, names_to_try)
            elif (message == 'Import    by    filename    is    not    supported.'):
                print(message)
                import os.path
                n = name.replace('/', '.').replace('\\', '.')
                n = n.replace(os.path.sep, '.')
                if (n.startswith('pox.') or n.startswith('ext.')):
                    n = n[4:]
                print(("Maybe    you    meant    to    run    '%s'?" % (n,)))
                return False
            else:
                show_fail()
                return False
        except:
            show_fail()
            return False
    return do_import2(name, [('pox.' + name), name])

What's a good function header?
assistant
#Here's a good function header.

def _do_import(name):