lists and the letter u

entropia entropiamax at jazzfree.com
Tue Nov 28 12:50:53 CET 2000


u for unicode, you have a unicode string

"SNYDER, BARRON F. (AIT)" escribió:

> I'm appending string values to a list and when I print the list, the letter
> 'u' appears before each element:
>
>         [u'dog', u'cat']
>
> What does the 'u' mean? (I didn't see it documented in any of the books I
> have and had a hard time searching for it in the archives)
>
> Thanks,
> Barron
>
> --
> http://www.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list