Top "Digit-separator" questions

Add 'decimal-mark' thousands separators to a number

How do I format 1000000 to 1.000.000 in Python? where the '.' is the decimal-mark thousands separator.

python format locale number-formatting digit-separator