I have a very simple script that I try to execute as a Shell Script:
It works as expected when I paste the script in the script box and use the command:import sys
print sys.argv[1]
print sys.argv[2]
print sys.argv[3]
print sys.argv[4]
I want to start the script from a .py fileC:\Python27\python.exe %Script% %Params%
So I tried to put the following in the Script box:
But then I get an error:"D:\Tools\test.py" %1 %2 % 3 %4
How should I execute the script properly?TypeError: not all arguments converted during string formatting
Thanks