print("000-000".replace("-", "")) #Output: "000000"
More Related Contents:
- Python sort multi dimensional dict
- Changing one list unexpectedly changes another, too [duplicate]
- Converting dictionary to JSON
- Getting rid of \n when using .readlines() [duplicate]
- error: (-215) !empty() in function detectMultiScale
- Could not find a version that satisfies the requirement tensorflow
- Scrollbar on Matplotlib showing page
- Intersection of two lists including duplicates?
- Numpy: Fix array with rows of different lengths by filling the empty elements with zeros
- ImportError: cannot import name NUMPY_MKL
- Print Combining Strings and Numbers
- Python Pip install Error: Unable to find vcvarsall.bat. Tried all solutions [duplicate]
- Import psycopg2 Library not loaded: libssl.1.0.0.dylib
- Clustering text documents using scikit-learn kmeans in Python
- How do i use subprocesses to force python to release memory?
- How do I make a fixed size formatted string in python? [duplicate]
- combine word document using python docx
- Python: import module from another directory at the same level in project hierarchy
- Python docx Replace string in paragraph while keeping style
- Is it possible to draw a matplotlib boxplot given the percentile values instead of the original inputs?
- ImportError: No module named bz2 for Python 2.7.2
- Converting .jpg images to .png
- Why do list comprehensions write to the loop variable, but generators don’t? [duplicate]
- TypeError: super() takes at least 1 argument (0 given) error is specific to any python version?
- I’m trying to use python in powershell
- Can’t create pdf using python PDFKIT Error : ” No wkhtmltopdf executable found:”
- Switch between python 2.7 and python 3.5 on Mac OS X
- Run process with realtime output to a Tkinter GUI
- Any way to get one process to have a write lock and others to just read on parallel?
- Google Search Web Scraping with Python