How do I replace slaces in python
How do I replace slash character "'' by backslash character "/" in python Question: I need to replace forward slash "" with backward slash "/". I have tried: c = "/r/tes/integrtest_Ame.txt" x = c.replace("", "/") print(x) But I have got the error: File "C:Usersbwar1korDesktopTesttest.py", line 33 x = c.replace("", "/") ^ SyntaxError: EOL while scanning …