X-Received: by 10.182.246.70 with SMTP id xu6mr23259308obc.31.1408469699801; Tue, 19 Aug 2014 10:34:59 -0700 (PDT) X-Received: by 10.140.83.180 with SMTP id j49mr284972qgd.1.1408469699731; Tue, 19 Aug 2014 10:34:59 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r2no2992745igi.0!news-out.google.com!j6ni3084qas.0!nntp.google.com!i13no1176444qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Tue, 19 Aug 2014 10:34:59 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=161.80.152.64; posting-account=sBN9CQoAAACdNK894PemoT7ORw58ouQ2 NNTP-Posting-Host: 161.80.152.64 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <33c7dfd2-015a-4b3f-a3c8-7bf4d6b6cb73@googlegroups.com> Subject: Functions on list items From: Kurt Injection-Date: Tue, 19 Aug 2014 17:34:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.python:76581 I am trying to process the following calendar and data attributes in a file: Da Mo Yr AttrA AttrB AttrC... I need to average AttrA for each of 365 Da days across Yr years. Then do the same for 27K files. Repeat for AttrB, AttrC etc. Can I do the averaging with lists or do I need some Python Db module (if it exists)? Kurt