converting u'11\xa022' to '11\xa022'

alf ask at me
Tue Feb 20 19:12:42 EST 2007


Hi,
is there a more elegant way to do that:

''.join([chr(ord(i)) for i in u'11\xa022' ])

-- 
thx, alf



More information about the Python-list mailing list