4 msΒ·
Since PEP 3131 (https://www.python.org/dev/peps/pep-3131/ https://www.python.org/dev/peps/pep-3131/) Python supports unicode in names, but only letters, not emo
by duckerude 6y ago
Since PEP 3131 (https://www.python.org/dev/peps/pep-3131/ https://www.python.org/dev/peps/pep-3131/) Python supports unicode in names, but only letters, not emoji. I have occasionally used variable names like Ο when transcribing a formula in toy code.
The unicode is normalized. That can be used for trickery in rare circumstances. "global" is a keyword, but "π π₯π¨πππ₯" isn't, so you can use that if you absolutely require an attribute called "global".