def load_tokens(tokens):
    # XXX: merge with import_tokens
    logger.info('load_tokens: %s' % str(tokens))
    symbol, remainder = import_tokens(tokens)
    for attr in remainder:
        symbol = getattr(symbol, attr)
    return symbol
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/utils.py/load_tokens/original