The in-development IPython version is going to enter them with LaTeX-like commands
http://ipython.org/ipython-doc/dev/whatsnew/development.html#typing-unicode-identifiers so that you enter \sigma<Tab> (probably with autocompletion) and get a σ. On Wed, Dec 17, 2014 at 12:42 AM, Joseph Martinot-Lagarde <[email protected]> wrote: > Le 15/12/2014 22:33, Jonatan Hjul a écrit : >> >> I have just installed python3 on one of my machines to experiment a bit. >> >> One of the great things about python3 is support for unicode variables, >> so we can now define some diameter as ø = 3 or the standard deviation as >> σ = 3.5. Now we definitely have a lot of strange symbols on different >> keyboards, but I guess most people using spyder is familiar with greek >> letters. >> >> So maybe a greek toolbar would be useful in the python3 version? >> >> And maybe we should have a shortcuts like ctrl+g to convert from latin >> to greek letters like in mathcad (i.e. "s" followed by ctrl+g results in >> "σ"). >> >> In the python2 version it could be disabled or just convert to "sigma". >> >> What do you think? >> >> /Jonatan > > > A greek toolbar would have way too much buttons. I'd prefer a widget to > insert special characters, including greek ones. This should be easilly > doable as a plugin. Some characters are considered "operators" rather than > characters so these should not be included. > > Convert from latin to greek with a shortcut is a great idea ! I personally > tend to avoid 1-letter variable names but I see how it could be useful. > > Joseph > > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
