[Python-ideas] sys.args

Giampaolo Rodola' g.rodola at gmail.com
Fri Jul 26 16:47:44 CEST 2013


On Fri, Jul 26, 2013 at 4:39 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> sys.argv is an atavism with not intuitive name, how about sys.args for
> program arguments only?
>
> if not sys.args:
>   print("usage: ...")
>
> --
> anatoly t.

I'd say the cost in terms of compatibility breakage is way higher than
the benefits.

--- Giampaolo
https://code.google.com/p/pyftpdlib/
https://code.google.com/p/psutil/
https://code.google.com/p/pysendfile/


More information about the Python-ideas mailing list