def variable_from_module(module, variable=None, default=None):

    if not module:
        return default

    mod = mod_import(module)

    if variable:
        result = []
        for var in make_iter(variable):
            if var:
                # try to pick a named variable
                result.append(mod.__dict__.get(var, default))
    else:
        # get all
        result = [val for key, val in mod.__dict__.items()
                         if not (key.startswith("_") or ismodule(val))]

    if len(result) == 1:
        return result[0]
    return result
Activates ``G0`` character set.
dataset/ETHPy150Open evennia/evennia/evennia/utils/utils.py/variable_from_module--crossover with--dataset/ETHPy150Open jonathanslenders/pymux/pymux/screen.py/BetterScreen.shift_in