title: Order of command line arguments in a Python script
body: <p>Let's say I  have the following script.</p>
  
  <p>This script finds the largest file under /home and emails the output with the 10 largest files.</p>
  
  <pre><code>./myscript.py -d /home -e joe@email.com -p 10
  </code></pre>
  
  <p>Let's say I don't want it to email me, I remove "-e joe@email.com" The script fails because it's expecting "-e" to be present.  I'm assigning the variables via <code>sys.arg[0] ... sys.arg[1]</code> and so forth.</p>