title: Python command line loop
body: <p>I'm running a mrjob python script, and in the command line I can pass the number of cores for the system to use. </p>
  
  <pre><code>python example_script.py --num-cores 5 
  </code></pre>
  
  <p>I'm looking to run the script for n number of cores for beach marking performance test. IE: I want to run it for 1 core, 2 core etc. </p>
  
  <p>Is there anyway I can write a loop directly into the command line rather then having to write out the whole command n number of times?</p>