Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70527

Unicode in Python

Newsgroups comp.lang.python
Date 2014-04-22 22:31 -0700
Message-ID <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> (permalink)
Subject Unicode in Python
From Rustom Mody <rustompmody@gmail.com>

Show all headers | View raw


Chris Angelico wrote:
> it's impossible for most people to type (and programming with a palette
> of arbitrary syntactic tokens isn't my idea of fun)...

Where's the suggestion to use a "palette of arbitrary tokens" ?

I just tried a greek keyboard; ie do
$ setxkbmap -option "grp:switch,grp:alt_shift_toggle,grp_led:scroll" -layout "us,gr"

Thereafter typing
abcdefghijklmnopqrstuvwxyz
after a Shift-Alt
gives
αβψδεφγηιξκλμνοπ;ρστθωςχυζ

One more Shift-Alt and back to roman

IOW the extra typing cost for greek letters is negligible
over the corresponding roman ones

Of course
- One would need to define such a keyboard (setxkb)
- One would have to find similar technologies for other OSes (Im on
debian; even ubuntu/unity grabs too many keys)

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 22:31 -0700
  Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 15:50 +1000
    Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 23:57 -0700
      Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 17:06 +1000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:29 +0000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:53 +0000
        Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-23 10:59 -0700
          Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-26 00:15 -0700
            Re: Unicode in Python "Frank Millman" <frank@chagford.com> - 2014-04-26 09:45 +0200
            Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-26 17:50 +1000
            Re: Unicode in Python Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-26 09:38 -0400
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-27 07:29 -0700
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-28 01:57 -0700
                Re: Unicode in Python random832@fastmail.us - 2014-05-01 13:21 -0400
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-07 23:04 -0700
                Re: Unicode in Python Michael Torrie <torriem@gmail.com> - 2014-05-01 21:50 -0600
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-03 00:46 -0700
          Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-27 10:39 -0700
  Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 05:52 +0000
    Re: Unicode in Python Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-04-22 23:19 -0700
    Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-23 16:41 +1000

csiph-web