def parse_as_number(s):
    try:
        return int(s)
    except ValueError:
        pass
    try:
        return int(s, 16)
    except __HOLE__:
        pass
dataset/ETHPy150Open richardkiss/pycoin/pycoin/scripts/ku.py/parse_as_number