get rid of commas in string python code example Example: strip comma from string python s = s.replace(',', '')