i have some scripts that take as input one or multiple paths as on argument.
The script is run like that: myScript.py D:\Folder1,E:\OtherData\Files
In the script, i split the path arguments in the comma and i read the paths.
The problem is that Python adds a \r in the end of each path for no reason. So the script tries to read D:\Folder1\r and E:\OtherData\Files\r.
Why is this and how can i solve it?