Hello,
I don't know if this will help or not, but try this.
m = open('mytext'.txt)
m.read()
'\n'.split(m)
for line in m:
linetotal = sum(line)
print linetotal
I hope this helps you, even though, as usual, I'm clueless about the
purpose of others' scripts.
Jacob Schmidt