Jeff Epler wrote:
> If you want to work with unicode, then write    
>     us = u"\N{COPYRIGHT SIGN} some text"

You can avoid almost all the wear and tear on your shift keys:

 >>> u"\N{copyright sign}"
u'\xa9'

... you are stuck with \N for reasons that should be obvious :-)

Cheers,
John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to