def format_int(val):
    try:  # for python 2.7 and up
        return '{:,}'.format(val)
    except __HOLE__:  # pragma nocover
        _format_int(val)
dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/utils/__init__.py/format_int