You could use replace
to remove all commas:
"10,000.00".replace(",", "")
More Related Contents:
- ‘str’ object is not callable Python
- Unexpected returned variable in Python [duplicate]
- How do I get a substring of a string in Python?
- How to read a file line-by-line into a list?
- Convert a Unicode string to a string in Python (containing extra symbols)
- Is there a simple way to remove multiple spaces in a string?
- Check if a string contains a number
- How to correctly sort a string with a number inside? [duplicate]
- How to un-escape a backslash-escaped string?
- Python 2.7 getting user input and manipulating as string without quotations
- Why are empty strings returned in split() results?
- Check if string ends with one of the strings from a list
- What is the most efficient string concatenation method in Python?
- What is the max length of a Python string?
- str.startswith with a list of strings to test for
- Difference between using commas, concatenation, and string formatters in Python
- How can I extract keywords from a Python format string?
- Converting a string that represents a list, into an actual list object
- Python: find closest string (from a list) to another string
- Run length encoding in Python
- How to decode a video (memory file / byte string) and step through it frame by frame in python?
- How to determine whether a substring is in a different string [duplicate]
- What is a Python bytestring?
- Byte Array to Hex String
- Remove whitespace in Python using string.whitespace
- String-based enum in Python
- How do I format a number with a variable number of digits in Python?
- How do I convert a list of ascii values to a string in python?
- Finding the position of a word in a string
- Convert bytes to a string in python 3