sum function

Ramchandra Apte maniandram01 at gmail.com
Fri Oct 5 04:31:29 EDT 2012


On Friday, 5 October 2012 07:31:24 UTC+5:30, Mike  wrote:
> I agree with you, Ian. Thanks for all the help.  Now I get the below error.
> 
> 
> 
>   File "test.py", line 17, in <module>
> 
>     total = sum(float(col.value) for r in iter(next_r, None) for col in r[0].columns.itervalues())
> 
>   File "test.py", line 17, in <genexpr>
> 
>     total = sum(float(col.value) for r in iter(next_r, None) for col in r[0].columns.itervalues())
> 
> 
> 
> Thanks

You have missed the last line of the traceback (error)



More information about the Python-list mailing list