On Sat, Jun 3, 2017 at 10:38 AM, Juancarlo Añez <apal...@gmail.com> wrote:
> Speaking of which, it would be convenient to be able to build strings with
> non-ascii characters using their Unicode codepoint name:
>
> greek_pi = "\u:greek_small_letter_pi"
>
> Or something like that.

You mean:

>>> greek_pi = "\N{GREEK SMALL LETTER PI}"
>>> greek_pi
'π'

Time machine strikes again :)

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to