I am working in python and I need to convert this:
C:\\folderA\\folderB to C:/folderA/folderB
I have three approaches:
dir = s.replace(\'\\\\
Try
path = '/'.join(path.split('\\'))