parsing tree from excel sheet

Chris Angelico rosuav at
Fri Jan 30 00:46:41 CET 2015

On Fri, Jan 30, 2015 at 8:32 AM, alb <al.basili at> wrote:
> Ok, that either means I need to upgrade to 3.3 or need to modify the
> snippet to a suitable syntax that would work with other versions.

You could replace "yield from child.show2()" with:

for val in child.show2(): yield val

and it should work. However, you're running Python 3.1, and a *lot* of
improvements have been made since then, so it's well worth upgrading.


More information about the Python-list mailing list