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