Answers for "how to replace a forward slash using .replace()"

4

python replace backslash with forward slash

path = r"C:\Users\user\Pharmacy 2012-2016 Monthly.xlsx".replace("\\","/")
Posted by: Guest on September-08-2021

Code answers related to "how to replace a forward slash using .replace()"

Python Answers by Framework

Browse Popular Code Answers by Language