Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.06; '21,': 0.07; 'smallest': 0.07; 'subject:language': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'keys.': 0.16; 'keys:': 0.16; 'logical.': 0.16; "microsoft's": 0.16; 'microsoft...': 0.16; 'reasonably': 0.16; 'subject: \n ': 0.16; 'demonstrate': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'input': 0.22; 'cc:addr:python.org': 0.22; 'keyboard': 0.24; 'unicode': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'order.': 0.26; 'header:In-Reply-To:1': 0.27; '[1]': 0.29; 'am,': 0.29; 'character': 0.29; 'characters': 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'gives': 0.31; 'controlled': 0.31; 'keys': 0.31; 'probably': 0.32; 'another': 0.32; 'quite': 0.32; 'could': 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'thanks': 0.36; 'wrong': 0.37; 'two': 0.37; 'minimum': 0.38; 'rather': 0.38; 'does': 0.39; 'either': 0.39; 'how': 0.40; 'is.': 0.60; 'most': 0.60; 'times': 0.62; 'telling': 0.64; 'more': 0.64; 'holding': 0.65; 'between': 0.67; 'biggest': 0.67; 'capable': 0.67; 'mar': 0.68; 'press': 0.70; 'subject:this': 0.83; 'characters,': 0.84; 'gap': 0.84; "it'd": 0.84; 'to:none': 0.92; 'hundred': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=/wlpjlM0txbagCjujBJXSafDHjkO9R9KgR8XMii41Qw=; b=HLPC/tK9nz0KOqlwn9pO2L4UDUra6y191Nax/xkCFlM8NQ3vqAqWy638hrNgwNv/cj VAW+z5Z1B7IUcpVG84VgjabcgOARqER3nyUEesCsnj0cQ/w5lvk3WRle9RM2Dhj6uuBa HfidWN4L0OX0zMfwOkOa2viZ4p4KXluBMxzcNLoVk+vFcByFjcHMU9JFi9uy8eJ2jtBm 0jJqe2U6qlzdlgqeZa4IMQs1+YFqFNGRaeZPRpMn+Vdqo3KVwyzOceIQMtmOqLpRUsAI QQaqh1BRV/RM2IIuzLSpbxLlmpNGRcdCGPEmgaN65coIXk9FnFRyJrGkzYvqBFbWMUR1 kuMw== MIME-Version: 1.0 X-Received: by 10.68.218.3 with SMTP id pc3mr12068020pbc.71.1396061112841; Fri, 28 Mar 2014 19:45:12 -0700 (PDT) In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <10101874-2995-4acd-9851-989603f052e3@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <87ior3w740.fsf@elektro.pacujo.net> <5334c38e$0$29994$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 29 Mar 2014 13:45:12 +1100 Subject: Re: Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396061122 news.xs4all.nl 2896 [2001:888:2000:d::a6]:52619 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69295 On Sat, Mar 29, 2014 at 8:18 AM, Mark H Harris wrote: > We have a unicode system [1] capable of zillions of characters, and most of > [us] have some qwerty system keyboard [104 keys?] with meta key mappings for > a few more. Talk about the cart before the horse. > > We need a standard input system not controlled by Microsoft... ... uhh... how does the QWERTY system demonstrate Microsoft's control?? There's more than a hundred years of gap between them, and in the wrong order. By the way, thanks for telling me what a zillion is. It must be 65536, because that's the biggest thing Unicode gives us plural of in number of characters. :) Considering that we have ten fingers, having 1114112 keys would be quite impractical. The smallest number of keys to render that many characters would probably be 21, but it'd be toggling data into a computer, rather than typing; *every* character would require holding down a good number of keys. (Or you could go the other way and have exactly two keys: 1 and 0. Press either 21 times to enter a single character.) You'd probably need a minimum of several hundred keys to get something reasonably logical. Do you really want a keyboard that takes up that much space? Most people can't efficiently use F1 through F12, much less another hundred or two hundred keys. ChrisA