So I have a python programme which looks something like this:
import blah blah balh
def main():
blah blah blah
blah blah blah
if __name__ == "__main__":
main()
The programme takes 2 arguments via eclipse.
But now I would like to run this programme in windows control prompt in a loop and change the 2 arguments dynamically.
I would like to do something like this:
arg1 = [a,b,c,d]
arg2 = [a,b,c,d]
for idx in range(0, len(mtds)):
#pass in args to programme
programme(mtds[idx], mdd[idx])
Is this possible?
Apologies in advance, I'm totally ignorant about this.