def globals_import_from(module, name, name_as):
    """
    Does "from <module> import <name> as <name_as>" (globally)
    """
    module = __import__(module, fromlist=[name])
    globals()[name_as] = getattr(module, name)
