generator no iter - how do I call it from another function

Sayth Renshaw flebber.crue at gmail.com
Sat Oct 1 06:09:34 EDT 2016


My main issue is that usually its just x in ,,, for a generator.

But if I change the code
for meet in roots.iter("meeting"):

to
for meet in roots("meeting"):

Well its invalid but I need to be able to reference the node, how do I achieve this?

Sayth



More information about the Python-list mailing list