On u'Unicode string literals' (Py3)

jmfauth wxjmfauth at gmail.com
Wed Feb 29 08:45:35 EST 2012


For those who do not know:
The u'' string literal trick has never worked in Python 2.

>>> sys.version
'2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]'
>>> print u'Un oeuf à zéro EURO uro'
Un  uf à zéro  uro
>>>

jmf



More information about the Python-list mailing list