Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61617
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python.list@tim.thechases.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'skip:[ 20': 0.04; 'subject:adding': 0.07; 'subject:getting': 0.07; 'subject:help': 0.08; 'typed': 0.09; '-tkc': 0.16; 'args,': 0.16; 'exactly?': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'keyword,': 0.16; 'subject: \n ': 0.16; 'subject:beginner': 0.16; 'subject:values': 0.16; 'then?': 0.16; 'wrote:': 0.18; 'command': 0.22; 'specify': 0.24; 'text.': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'text': 0.33; 'subject:the': 0.34; 'subject:from': 0.34; 'but': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'show': 0.63; 'subject:. ': 0.67; 'common,': 0.84; 'received:50.22': 0.84 |
| Date | Wed, 11 Dec 2013 14:20:42 -0600 |
| From | Tim Chase <python.list@tim.thechases.com> |
| To | python-list@python.org |
| Subject | Re: adding values from a csv column and getting the mean. beginner help |
| In-Reply-To | <CAPTjJmp2e44NvSgm_tFJ1y-cOtmM0B-eZ_iRqiMNmfVQippnAQ@mail.gmail.com> |
| References | <e3a75021-32a2-471e-b486-51d1b28ffef6@googlegroups.com> <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> |
| X-Mailer | Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - boston.accountservergroup.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - tim.thechases.com |
| X-Get-Message-Sender-Via | boston.accountservergroup.com: authenticated_id: tim@thechases.com |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3931.1386793170.18130.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386793170 news.xs4all.nl 2870 [2001:888:2000:d::a6]:51997 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61617 |
Show key headers only | View raw
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