On Thu, Oct 4, 2012 at 3:04 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> scanner = client.scannerOpenWithStop("tab", "10", "1000", ["cf:col1"])
> next_r = itertools.partial(client.scannerGet, scanner)
> total = sum(float(col.value) for r in iter(next_r, None) for col in
> r.itervalues())

That should be "functools" above, not "itertools". :-P
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to