[Tutor] converting unicode

Terry Carroll carroll at tjc.com
Wed Dec 1 04:08:06 CET 2004


On Tue, 30 Nov 2004, Terry Carroll wrote:

> On Wed, 1 Dec 2004, Max Noel wrote:
> 
> >       That's another job for my friends the list comprehensions!
> > out = tuple([str(element) for element in stringtuple])
> 
> List comprehension is indeed cool, but overkill here, I think.

Oh, hell, never mind.  I just realized I answered a question that the OP 
wasn't actually asking.



More information about the Tutor mailing list