Sep-08-2023, 10:44 AM
Hi,
I have the issue that Python change the string value of my parameter arguments.
Here are my skript parameter:
"C:\Ordner 1\" "D:\test 2\"
The result is:
C:\Users\Joss\AppData\Local\Programs\Python\Python37-32\python.exe E:/test.py "C:\Ordner 1\" D:\test" 2\"
C:\Ordner 1" D:\test
2"
As you can see the parameters are torn in the wrong place because the escape character was executed.
What I would like to see should be:
C:\Ordner 1\
D:\test 2\
I think Python shouldn't change any input string and give me the raw-string !
I have the issue that Python change the string value of my parameter arguments.
Here are my skript parameter:
"C:\Ordner 1\" "D:\test 2\"
1 2 3 4 |
import sys if len (sys.argv) > 1 : print (sys.argv[ 1 ]) print (sys.argv[ 2 ]) |
C:\Users\Joss\AppData\Local\Programs\Python\Python37-32\python.exe E:/test.py "C:\Ordner 1\" D:\test" 2\"
C:\Ordner 1" D:\test
2"
As you can see the parameters are torn in the wrong place because the escape character was executed.

What I would like to see should be:
C:\Ordner 1\
D:\test 2\
I think Python shouldn't change any input string and give me the raw-string !