On OSX, copied path has backslash character to escape spaces in directory name.
e.g. /Users/ronsair/Downloads/test\ -\ folder
os.path.exists(<path above>) returns false.
Do I need to remove escape character, or there is a more elegant way to do this?
e.g. /Users/ronsair/Downloads/test\ -\ folder
os.path.exists(<path above>) returns false.
Do I need to remove escape character, or there is a more elegant way to do this?