Running Sum script

Jul sneakyelf at gmail.com
Fri Sep 4 19:22:11 CEST 2009


hello,

I have a .txt file that is in this format --

12625
17000
12000
14500
17000
12000
17000
14500
14500
12000
...and so on...

i need to create a python script that will open this file and have a
running sum until the end of file.

it sounds really simple its just for some reason i am having problem
with it.

i would really appreciate your help



More information about the Python-list mailing list