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


Groups > comp.lang.python > #70534

Re: Unicode in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'value,': 0.04; 'subject:Python': 0.06; 'string': 0.09; 'feasible.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'semantic': 0.09; 'spelled': 0.09; 'downside': 0.16; 'finney': 0.16; 'lowercase': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'semantically': 0.16; 'subject:Unicode': 0.16; 'terse': 0.16; 'uppercase': 0.16; 'words.': 0.16; 'typing': 0.19; 'header:User-Agent:1': 0.23; 'specify': 0.24; 'header:X-Complaints-To:1': 0.27; 'words': 0.29; 'characters': 0.30; 'writes:': 0.31; 'but': 0.35; "i'll": 0.36; 'should': 0.36; 'too': 0.37; 'problems': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'different': 0.65; 'to,': 0.72; 'capital': 0.73; 'special': 0.74; 'received:125': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben@benfinney.id.au>
Subject Re: Unicode in Python
Date Wed, 23 Apr 2014 16:41:41 +1000
References <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> <53575521$0$11109$c3e8da3@news.astraweb.com> <CABicbJ+QsUs_tWtZ_XFfj-H7mYRywc9Hhwa0tWEsR2KDJC+yKQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:UhZhcv8xb6bLPFHUl0OBI+pUfvo=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9456.1398235319.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1398235319 news.xs4all.nl 2947 [2001:888:2000:d::a6]:47095
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70534

Show key headers only | View raw


Devin Jeanpierre <jeanpierreda@gmail.com> writes:

> But yes, typing out the special characters is annoying. I just use
> words.

I use words that describe the meaning, where feasible.

> The only downside to using words is, how do you specify capital
> versus lowercase letters?

Why do you need to, for an identifier? If uppercase gamma is
semantically different from lowercase gamma for identifying a value,
then both are too terse and the meaning should be spelled out in a
better chosen semantic name.

-- 
 \       “Some people have a problem, and they think “I know, I'll use |
  `\     Perl!”. Now they have some number of problems but they're not |
_o__)     sure whether it's a string or an integer.” —Benno Rice, 2011 |
Ben Finney

Back to comp.lang.python | Previous | NextPrevious 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