Can sys.argv handle optional arguments?
<pre><code>from sys import argv
script, lira_cbt, [eur_hedge] = argv

if eur_hedge == None:
    Do x
else:
    Do y
</code></pre>

<p>I want it to be able to run with just lira_cbt as an argument (doing x), or with both lira_cbt and eur_hedge (doing y). Can I do this at the sys.argv level?</p>
