How would I parse the string 1,000,000 (one million) into it's integer value in Python?
1,000,000
>>> a = '1,000,000' >>> int(a.replace(',', '')) 1000000 >>>