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


Groups > comp.lang.python > #45742 > unrolled thread

Re: file I/O and arithmetic calculation

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2013-05-22 17:23 +0100
Last post2013-05-22 17:23 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: file I/O and arithmetic calculation Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-22 17:23 +0100

#45742 — Re: file I/O and arithmetic calculation

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-05-22 17:23 +0100
SubjectRe: file I/O and arithmetic calculation
Message-ID<mailman.1971.1369239821.3114.python-list@python.org>
On 22/05/2013 17:13, Keira Wilson wrote:
> Dear all,
>
> I would appreciate if someone could write a simple python code for the
> purpose below:
>
> I have five text files each of 10 columns by 10 rows as follows:
>
>
> |file_one=  'C:/test/1.txt'
> file_two=  'C:/test/2.txt'
> .  .  .
> file_five=  'C:/test/5.txt'|
>
> I want to calculate the mean of first row (10 elements) for each file (5
> files), if mean of first column (10 elements) of each file (5 files) is 50.
>
> Thank you in advance.
>
> Keira
>

Sorry but we don't do homework.

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web