Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61617
| Date | 2013-12-11 14:20 -0600 |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Subject | Re: adding values from a csv column and getting the mean. beginner help |
| References | (1 earlier) <CAPTjJmq4n-Mv=TXNKOEZifUrHm_1zgBb3pAv1sb6rVWz6SkXNw@mail.gmail.com> <l8af3h$5d7$1@ger.gmane.org> <CAPTjJmphJP7T-mjiR4AuxXhj24=qCt_Y3CTqOZY7RQX9t9fdrw@mail.gmail.com> <l8ag7r$jcu$1@ger.gmane.org> <CAPTjJmp2e44NvSgm_tFJ1y-cOtmM0B-eZ_iRqiMNmfVQippnAQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3931.1386793170.18130.python-list@python.org> (permalink) |
On 2013-12-12 07:03, Chris Angelico wrote:
> Also common, but how do you specify a keyword, then? Say you have a
> command with subcommands:
>
> $0 foo x y
> Move the foo to (x,y)
> $0 bar x y z
> Go to bar X, order a Y, and Z it [eg 'compress', 'gzip', 'drink']
>
> How do you show that x/y/z are mandatory args, but foo/bar are
> keywords to be typed exactly? In some formats italicized text can
> make that distinction, but not in pure text.
I prefer {} notation:
$0 mv [--optional] {x} {y}
$0 bar [--mutually|--exclusive] {x} {y} {z}
-tkc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
adding values from a csv column and getting the mean. beginner help brian cleere <briancleere@gmail.com> - 2013-12-11 11:10 -0800 Re: adding values from a csv column and getting the mean. beginner help Tim Chase <python.list@tim.thechases.com> - 2013-12-11 13:20 -0600 Re: adding values from a csv column and getting the mean. beginner help Chris Angelico <rosuav@gmail.com> - 2013-12-12 06:22 +1100 Re: adding values from a csv column and getting the mean. beginner help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 19:34 +0000 Re: adding values from a csv column and getting the mean. beginner help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 19:41 +0000 Re: adding values from a csv column and getting the mean. beginner help Chris Angelico <rosuav@gmail.com> - 2013-12-12 06:46 +1100 Re: adding values from a csv column and getting the mean. beginner help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 20:00 +0000 Re: adding values from a csv column and getting the mean. beginner help Chris Angelico <rosuav@gmail.com> - 2013-12-12 07:03 +1100 Re: adding values from a csv column and getting the mean. beginner help Tim Chase <python.list@tim.thechases.com> - 2013-12-11 14:20 -0600 Re: adding values from a csv column and getting the mean. beginner help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 20:20 +0000 Re: adding values from a csv column and getting the mean. beginner help Christopher Welborn <cjwelborn@live.com> - 2013-12-11 18:49 -0600 Re: adding values from a csv column and getting the mean. beginner help "M.F." <morefool@gmail.com> - 2013-12-12 09:36 +0800
csiph-web