Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-15 Thread Michael J. McConachie
@Bob @David -- I gave you all the other parts to give you a background, and context as it relates to my 'problem'. My apologies if it seems obfuscated. I took an hour to write that email, and revised it several times in an attempt to provide good information. Please disregard my OP. On

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-15 Thread Michael J. McConachie
@ Stephen, Thank you for the answers. I appreciate your understanding, and patience; I understand that it was confusing (unintentionally) and probably irritating to any of the seasoned tutor list members. Your examples helped greatly, and was the push I needed. Happy Friday, and thanks again,

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-15 Thread Albert-Jan Roskam
snip Eventually what I'll need to do is: 1.  Index the file and/or count the lines, as to identify each line's positional relevance so that it can average any range of numbers that are sequential; one to one another. In other words: you would like to down-sample your data? For example,

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-15 Thread Michael J. McConachie
On 02/15/2013 04:03 PM, Albert-Jan Roskam wrote: snip Eventually what I'll need to do is: 1. Index the file and/or count the lines, as to identify each line's positional relevance so that it can average any range of numbers that are sequential; one to one another. In other words: you

[Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-14 Thread Michael McConachie
Hello all, This is my first post here. I have tried to get answers from StackOverflow, but I realized quickly that I am too green for that environment. As such, I have purchased Beginning Python (2nd edition, Hetland) and also the $29.00 course available from learnpythonthehardway(dot)com.

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-14 Thread Dave Angel
On 02/14/2013 03:55 PM, Michael McConachie wrote: Hello all, This is my first post here. I have tried to get answers from StackOverflow, but I realized quickly that I am too green for that environment. As such, I have purchased Beginning Python (2nd edition, Hetland) and also the $29.00

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-14 Thread Steven D'Aprano
On 15/02/13 07:55, Michael McConachie wrote: Essentially: 1. I have a list of numbers that already exist in a file. I generate this file by parsing info from logs. 2. Each line contains an integer on it (corresponding to the number of milliseconds that it takes to complete a certain

Re: [Tutor] Newbie Here -- Averaging Adding Madness Over a Given (x) Range?!?!

2013-02-14 Thread bob gailer
On 2/14/2013 3:55 PM, Michael McConachie wrote: [snip] I agree with dave angel - the specification is far from clear. please clarify. perhaps a simple example that goes from input to desired output. -- Bob Gailer 919-636-4239 Chapel Hill NC ___