Make it into a list: list(splitter('x+(y+z)') Kent R. Alan Monroe wrote: > Stupid question: how do you test generators in the interactive > interpreter? Simply calling it didn't give me the result I expected... > > >>>>splitter('x+(y+z)') > > <generator object at 0x008F9508>