>>> a="1,000,000"
>>> int(a.replace(',', ''))
1000000
>>>
More Related Contents:
- How can I convert JSON to CSV?
- How to merge lists into a list of tuples?
- How do I use subprocess.Popen to connect multiple processes by pipes?
- What is an alternative to execfile in Python 3?
- Behavior of exec function in Python 2 and Python 3
- Pyinstaller Unable to access Data Folder
- How do I get the path and name of the file that is currently executing?
- Python – use list as function parameters
- How can one continuously generate and track several random objects with a time delay in pygame? [duplicate]
- How to fix overlapping annotations / text
- Why doesn’t PyGame draw in the window before the delay or sleep?
- Capturing video from two cameras in OpenCV at once
- High performance fuzzy string comparison in Python, use Levenshtein or difflib [closed]
- Sort a pandas dataframe series by month name
- Using only the DB part of Django
- What do all the distributions available in scipy.stats look like?
- How to read specific part of large file in Python
- Shift NaNs to the end of their respective rows
- Can you “stream” images to ffmpeg to construct a video, instead of saving them to disk?
- Processing time gets longer and longer after each iteration (TensorFlow)
- Discord Bot can only see itself and no other users in guild
- Why does python print version info to stderr?
- How to print a binary tree in as a structure of nodes in Python
- Python regular expression for HTML parsing
- Meaning of leading underscore in list of tuples used to define choice fields?
- A python class that acts like dict
- How do I check if PyTorch is using the GPU?
- Is there a python equivalent of Ruby’s ‘rvm’?
- What is absolute import in python?
- Differences for creating a set using set() or {}