I noticed a way to change an into to a comma separated number here. Neat trick!
I was wondering if there is a way using format to reverse this, as opposed to doing something like this:
import re
def comma_num_to_int(text):
n = re.sub(",", "", text)
return int(n)
my_big_number = "1,234,500"
print comma_num_to_int (my_big_number) # 1234500