I have a Python script using the parser package for setting option flags (like -d dataset and -s size etc. and finally the results are written to a file. How can i run the command many times (sequentially) with different option flags for each run?
I need something like this:
datasets = [a,b,c]
sizes = [100,200,300]
for dataset in dataset: #specify parameters
for size in sizes: #specify more parameters
python script.py -d dataset -s size #run script
What would be the best (or even 'a') way to do this?