On Jun 01 2017, Victor Stinner <victor.stinner-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote: > 2017-06-01 8:47 GMT+02:00 Serhiy Storchaka <storch...@gmail.com>: >> What you are think about adding Unicode aliases for some mathematic names in >> the math module? ;-) >> >> math.π = math.pi > > How do you write π (pi) with a keyboard on Windows, Linux or macOS?
Under Linux, you'd use the Compose facility. Take a look at eg. /usr/share/X11/locale/en_US.UTF-8/Compose for all the nice things it let's you enter: $ egrep '[πτΓ]' /usr/share/X11/locale/en_US.UTF-8/Compose <dead_greek> <G> : "Γ" U0393 # GREEK CAPITAL LETTER GAMMA <dead_greek> <p> : "π" U03C0 # GREEK SMALL LETTER PI <dead_greek> <t> : "τ" U03C4 # GREEK SMALL LETTER TAU Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.« _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/