answered 11 years ago
If you're dealing with integers, you can use "{:,}".format(100000000) (see http://stackoverflow.com/a/10742904/1401572).
"{:,}".format(100000000)