[Tutor] converting unicode

Rene Bourgoin r2b2 at myway.com
Wed Dec 1 03:36:45 CET 2004


Wandering how i could convert an entire tuple of unicode strings to python strings using str(u'string')

stringtuple = ()
stringtuple = (u'string1',u'string2',u'string3')

str(u stringtuple) # syntax problem here!!!
 

thanks


_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com


More information about the Tutor mailing list