Python: unicode characters by name

・1 min read

Hey all 🤘!
Did you know you can display unicode characters in python by their name? Like this:

>>> '\N{SIGN OF THE HORNS}'
'🤘'
>>> '\N{KANGXI RADICAL HAND}'
'⼿'
>>> '\N{VICTORY HAND}'
'✌'

I didn't.
Docs

DISCUSSION
Classic DEV Post from Mar 12 '18

Fantastic youtube channels, with top-quality learning for software engineers

Video training is undeniably one of the most popular methods, for self-taught p...

Maria Boldyreva
A coder.
Join dev.to

Better understand your code.