How to write boolean command line arguments with Python?
<p>I would like to write an argument in an application where the argument that I am calling needs to be referenced on the first iteration/run of the script where the <code>initial_run</code> is set to <code>True</code>.  Otherwise this value should be left as false.  Now this parameter is configured in a configuration file.</p>

<p>The current code that I written is below.  What should be changed in this code to return the <code>True</code> value?  Now it only returns the value <code>False</code>.</p>

<pre><code>import sys  
# main
param_1= sys.argv[0:] in (True, False)
print 'initial_run=', param_1
</code></pre>