Answers for "python replace 4 spaces with tab"

2

replacing spaces in a string python

mystring.replace(" ", "_")
Posted by: Guest on April-29-2020
0

replace multiple spaces with single space python

' '.join(myString.split())
Posted by: Guest on July-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language