title: Select parts of a program to execute from command line in Python
body: <p>I have a big program, say <code>my_program.py</code>. I want to execute with two options, say 1 or 2. In case option 1 is chosen (<code>python my_program.py 1</code>) I want <code>my_program.py</code> to execute some parts of the code (in particular lines 70 to 117 and comment lines 118 to 130), if 2 is chosen I want the opposite behaviour (comment/deactivate lines 70 to 117 and uncomment/activate lines 118 to 130).</p>
  
  <p>I know <code>argparse</code> to read from the command line, but do you have a (relatively) clean solution for this problem?</p>