I like Unicode more than I used to...

Skip Montanaro skip at pobox.com
Sun Feb 23 19:57:38 EST 2003


    >> >>> f.write("abc\r\n")
    >> >>> f.write(u"\N{TRADE MARK SIGN}\r\n")
    >> >>> f.write(u"\u8482\r\n")

    Steven> Incidentally, the trade mark sign was referred to as character
    Steven> 8482 in that other thread because that's its decimal value:

Yeah, I figured that out, but thought the glyph that was rendered was kinda
cool...

Skip





More information about the Python-list mailing list