I just love generators in Python.
One of the cool things I found out from this site was that one could send in a value when calling on an active generator.
To do so one uses the send() method and a yield like so: "x = yield".
The send with a value will assign the sent value to the variable associated with the yield.
I used this once to iterate through my generator once with one set of values, and then later with a different set.
Cool stuff.