On Fri, Nov 28, 2014 at 2:30 AM, David Aldrich
<david.aldr...@emea.nec.com> wrote:
> Thanks.  But I don't quite understand.  If I use sys:
>
> import sys
>
> args = sys.argv[1:]
>
> I don't need to use 'from'.  What is different with using path?

You could instead say:

from sys import argv
args = argv[1:]

The only confusing bit here is that instead of "sys" and "argv", you
have "path" and "path", the same name twice. But it's the same thing
happening.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to