Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61631

Re: adding values from a csv column and getting the mean. beginner help

From Christopher Welborn <cjwelborn@live.com>
Subject Re: adding values from a csv column and getting the mean. beginner help
Date 2013-12-11 18:49 -0600
References <e3a75021-32a2-471e-b486-51d1b28ffef6@googlegroups.com> <CAPTjJmq4n-Mv=TXNKOEZifUrHm_1zgBb3pAv1sb6rVWz6SkXNw@mail.gmail.com> <l8af3h$5d7$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.3941.1386809370.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/11/2013 01:41 PM, Mark Lawrence wrote:
> On 11/12/2013 19:22, Chris Angelico wrote:
> There is, https://pypi.python.org/pypi/docopt/0.6.1 :)
>

+1 for docopt. It makes everything very clear. Just type out your usage 
string, and then run docopt(usage_str) on it to get a dict of your args. 
When I saw the video at http://docopt.org my jaw dropped. I couldn't 
believe all of the arg parsing junk I had been writing for even the 
smallest scripts. The other arg parsing libs make it easier than 
manually doing it, but docopt is magic.


-- 

- Christopher Welborn <cjwelborn@live.com>
   http://welbornprod.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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