[Tutor] Help with re module maybe?

Kent Johnson kent37 at tds.net
Sat Nov 20 18:37:59 CET 2004


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>


More information about the Tutor mailing list