Is this anything?  When you run a python command from the shell to just print 
the command line args you get this:

    $ python -c "import sys; print(sys.argv)"
    ['-c']

But I would expect one of these:

Either the '-c' option consumes both args:

    $ python -c "import sys; print(sys.argv)"
    []

Or it leaves them both in:

    $ python -c "import sys; print(sys.argv)"
    ['-c', 'import sys; print(sys.argv)']


What do you think?

Warm regards,
~Simon

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

Reply via email to