I have a script which is an automated test. I need to be able to set a run to be X cycles long (or even infinite). What is the best method of doing so ?
By the way, currently I am using my IDE to run the whole script and sometimes I use the CLI to run certain code chunks.
Which will be needed for my needs
python -c 'for i in range(10): print "hello"'

tested.
or your shell

for i in `seq 10`;do echo hello; done
What is the recommended way to run a script X times in a row (one at a time)