This shows you the differences between two versions of the page.
— |
curiosidades_de_python [15/05/2009 00:00] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Curiosidades de Python ====== | ||
+ | ===== Unicode ===== | ||
+ | |||
+ | <code python> | ||
+ | >>> c = u'\N{Copyright Sign}' | ||
+ | >>> c | ||
+ | u'\xa9' | ||
+ | >>> print c | ||
+ | © | ||
+ | </code> | ||
+ | |||
+ | |||
+ | {{tag>python}} |