How to not display script name when looping on command line argument?
<p>I am not familiar at all with Python. I am just trying to create a basic script where I would like to get all the command line argument without the script name.</p>

<p>When I do </p>

<pre><code>for arg in sys.argv:         
        print arg
</code></pre>

<p>I get the following ouput :</p>

<pre><code>&lt;scriptname&gt;
&lt;arg1&gt;
&lt;arg2&gt;
&lt;argn&gt;
</code></pre>

<p>So : How can I skip  the scriptname to appear in the output?</p>
