1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 1001
/ 3 Years ago, wed, september 29, 2021, 7:38:58
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?
More From » command-line