Python 3.6 (a.k.a. PEP 498) introduces formatted strings that I love. In certain cases we have to output the large numbers that is difficult for users to read. I used locale grouping as in an example below. I wonder if there is a better way to format large numbers inside of formatted strings?
import locale
locale.setlocale(locale.LC_ALL, 'en_US')
count = 80984932412380
s = f'Total count is:{locale.format("%d", count, grouping = True)}'
>>> s
'Total count is:80,984,932,412,380'
Many thanks in advance for help!