Jari Aalto wrote:

> Thanks, is there equivalent to this Perl statement in Python?
> 
>    @list = @ARGV[1 .. @ARGV];
> 
> or something similar so that I could avoid the 1 > 1 (sys.argv) check
> altogether?

for arg in sys.argv[1:]:
    ...

-- 
Robert Kern
[EMAIL PROTECTED]

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to