Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Revisions

4 of 5
added 34 characters in body
MattDMo
  • 103.3k
  • 21
  • 251
  • 239

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

AltStyle によって変換されたページ (->オリジナル) /