<p><br>
On 29 Oct 2012 02:30, "Saad Javed" <<a href="mailto:sbjaved@gmail.com">sbjaved@gmail.com</a>> wrote:<br>
><br>
> I've come up with this:<br>
><br>
> try:<br>
> sys.argv[1]<br>
> x = sys.argv[1]<br>
> main(x)<br>
> except IndexError:<br>
> main(x)<br>
><br>
> It works but seems hackish.<br>
><br>
> Saad</p>
<p>Saad,</p>
<p>The first sys.argv is not needed.</p>
<p>Notice how i have replied below the text i am quoting? That is the preference of most on the list.</p>
<p>Best,</p>
<p>Brian Vdb </p>