I have a single-thread python script that gets used like this:
python -c "arg"
I also have a *.txt file with many arg
, each in one single line in the respective *.txt. A text file, say 1.txt
looks as follows:
arg1
arg2
arg3
arg4
Now I want to run the python script with all this arguments, one by one as the script does not allow more than one argument.
How can I process this arguments in batch mode using commandline?