Time we switched to unicode? (was Explanation of this Python language feature?)

Mark H Harris harrismh777 at gmail.com
Tue Mar 25 06:14:42 CET 2014


On 3/25/14 12:08 AM, Chris Angelico wrote:

> How quickly can you switch, type one letter (to generate one Cyrillic
> character), and switch back?

... very fast.

Is not this nicer?

 >>> Π = pi
 >>>
 >>> sin(Π/4)
0.7071067811865475
 >>>
 >>> cos(Π/4)
0.7071067811865476
 >>>

    my pdeclib constants extension will have alternate spellings for Π 
and Γ and Δ and others...

    But what if python had a math symbols extension so that universal 
mathematics could be written the way we do it on a black|board, er, I 
mean white|board?

marcus




More information about the Python-list mailing list