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


Groups > comp.lang.python > #81034

Re: How to fix those errors?

Newsgroups comp.lang.python
Date 2014-11-19 08:00 -0800
References (2 earlier) <1692646.8RgHztCiv6@PointedEars.de> <mailman.15917.1416176562.18130.python-list@python.org> <54694389$0$13001$c3e8da3$5496439d@news.astraweb.com> <roy-45DA9A.21550716112014@news.panix.com> <cd0aikF787qU1@mid.individual.net>
Message-ID <19c5c847-7ea2-4b20-ad75-ee1ced4b58d2@googlegroups.com> (permalink)
Subject Re: How to fix those errors?
From wxjmfauth@gmail.com

Show all headers | View raw


Le mardi 18 novembre 2014 08:25:23 UTC+1, Gregory Ewing a écrit :
> Roy Smith wrote:
> > Wouldn't it make more sense to use four periods?
> > 
> > def spam(arg)....
> >     for x in seq....
> >         pass
> 
> Conversely, to save space you should be able to
> stack one of the dots of an ellipsis on top and
> write it as either .: or :.
> 
> Taking this even further, we could allow all
> characters to be encoded in 90-degree-rotated
> Braille. This would be a tremendous advantage
> for blind or poorly-sighted Python users.
> 
> -- 
> Greg


Unicode has a dedicated block for Braille characters
(Braille Patterns).

No need for a codec for the position and/or rotation
of characters, it's a question of rendering engine
and/or fonts.

You can experiment it with a TeX unicode engine.

--------

Sometimes, Python already allows to save space:

>>> 0and 1
0
>>> 0 and 1
0

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


Thread

How to fix those errors? Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-16 22:32 +0100
  Re: How to fix those errors? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-16 23:04 +0100
    Re: How to fix those errors? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-16 23:13 +0100
      Re: How to fix those errors? Chris Angelico <rosuav@gmail.com> - 2014-11-17 09:22 +1100
        Re: How to fix those errors? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-17 11:38 +1100
          Re: How to fix those errors? Chris Angelico <rosuav@gmail.com> - 2014-11-17 12:05 +1100
          Re: How to fix those errors? Roy Smith <roy@panix.com> - 2014-11-16 21:55 -0500
            Re: How to fix those errors? Chris Angelico <rosuav@gmail.com> - 2014-11-17 14:06 +1100
              Re: How to fix those errors? alex23 <wuwei23@gmail.com> - 2014-11-19 13:02 +1000
                Re: How to fix those errors? Chris Angelico <rosuav@gmail.com> - 2014-11-19 14:40 +1100
                Re: How to fix those errors? alex23 <wuwei23@gmail.com> - 2014-11-21 20:21 +1000
            Re: How to fix those errors? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-11-18 20:25 +1300
              Re: How to fix those errors? Chris Angelico <rosuav@gmail.com> - 2014-11-18 18:37 +1100
              Re: How to fix those errors? wxjmfauth@gmail.com - 2014-11-19 08:00 -0800
            Re: How to fix those errors? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-19 09:33 +1100

csiph-web