Unicode in Python

Devin Jeanpierre jeanpierreda at gmail.com
Wed Apr 23 02:19:44 EDT 2014


On Tue, Apr 22, 2014 at 10:52 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> There's not just the keyboard mapping. There's the mental cost of knowing
> which keyboard mapping you need ("is it Greek, Hebrew, or maths
> symbols?"), the cost of remembering the mapping from the keys you see on
> the keyboard to the keys they are mapped to ("is Ω mapped to O or W?")
> and so forth. If you know lambda-calculus, you might associate λ with
> functions, [...]

Or if you know Python and the name of the letter ("lambda").

But yes, typing out the special characters is annoying. I just use
words. The only downside to using words is, how do you specify capital
versus lowercase letters? "Gamma = ..." violates the style guide! :(

-- Devin



More information about the Python-list mailing list