Python parse comma-separated number into int [duplicate] January 25, 2023 by Tarik >>> a="1,000,000" >>> int(a.replace(',', '')) 1000000 >>>