def get(name, type='<', rval=[], g=globals()):
    """ get an object from global space. """
    for k, v in g.items():
        t = str(v)
        if t.startswith(type):
            if name and name in t:
                return v
