Re: PEP 289: Generator Expressions (please comment)
rzed wrote:[color=blue]
> I like it! How about in conjunction with the print statement?
> print "%s\n" % (s for s in strlist)[/color]
It's not better than
for s in strlist:
print s
or I didn't understand your intent.
Mike
rzed wrote:[color=blue]
> I like it! How about in conjunction with the print statement?
> print "%s\n" % (s for s in strlist)[/color]
It's not better than
for s in strlist:
print s
or I didn't understand your intent.
Mike
Comment