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


Groups > comp.lang.python > #86847

Re: Sort list of dictionaries

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.086
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Sort': 0.16; 'subject:dictionaries': 0.16; 'tempfile': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'file,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'easier': 0.31; 'yesterday': 0.31; 'file': 0.32; 'another': 0.32; 'problem.': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'functions.': 0.36; 'module.': 0.36; 'doing': 0.36; 'jason': 0.38; 'how': 0.40; 'worry': 0.60; 'most': 0.60; 'temporary': 0.65; 'mar': 0.68; 'guaranteed': 0.75; '2015': 0.84; "else's": 0.84; 'colleague': 0.91; 'to:none': 0.92
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=kw3fe0JHQwwGE3JljpIfWTK0BWHAODJL8nc7WkX0E5g=; b=Veset/m0kGGjHDD+vpuK529Zyd5J+lGp+9KfaNGmfCH73VKItnni65DpdCshuLCAxZ 5gxcBC5mhoQjW9v6WKDwbEOc3O+3DmZbwE7m9snRxqbjuVatGArgVVMjDpRm+2Datukg nDyErFhig3wh7kU+GU/ysg5km35O6hACE+QfvkoDYtTp8aPcEG0KLm5K6556qNOwcEN0 5x/GSEmyLnzltsdkMAwMyWNnL5qEw4T26n4caHHsJd06xkKEIVXwDBbhcNIfRUzySNi3 +pWUWHPzfDOxoNfgls2m3/atuf1ruyP2CImttjQadMpkuKpc1yd7ewxqEbJ91wm2H3Cn 2wOw==
MIME-Version 1.0
X-Received by 10.107.128.219 with SMTP id k88mr2327958ioi.27.1425394249899; Tue, 03 Mar 2015 06:50:49 -0800 (PST)
In-Reply-To <CANy1k1jovAeTAvpHSJgnX64ypie1j=4noHSC0X795TXm3TTtWA@mail.gmail.com>
References <f1a339d0-0386-43ba-b6b4-1aee39d75581@googlegroups.com> <mailman.56.1425321135.13471.python-list@python.org> <946797be-10e6-433b-9411-2db0d5697ac8@googlegroups.com> <CALwzidmMXXoumCW2rVtY_Yh5Dp_hJ_4Tcrp736OYvkp6TTyFAA@mail.gmail.com> <CANy1k1gFfW5m_nJrmXqVGU_sYHD9tFHP3Dshc_H=oaJru-6cxg@mail.gmail.com> <CAPTjJmoUsXJQjCfO=-ZQj7DYqTbe4rHJ-QQEpNghX1r9B9zntg@mail.gmail.com> <CANy1k1jovAeTAvpHSJgnX64ypie1j=4noHSC0X795TXm3TTtWA@mail.gmail.com>
Date Wed, 4 Mar 2015 01:50:49 +1100
Subject Re: Sort list of dictionaries
From Chris Angelico <rosuav@gmail.com>
Cc Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
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.19.1425394252.21433.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425394252 news.xs4all.nl 2829 [2001:888:2000:d::a6]:50891
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86847

Show key headers only | View raw


On Wed, Mar 4, 2015 at 1:45 AM, Jason Friedman <jsf80238@gmail.com> wrote:
> I appreciate
> how Python makes my job easier by doing much of my work for me.  A
> colleague yesterday asked how I guaranteed my temporary file names
> would not collide with another file, and my answer was I don't have to
> worry about it, someone else figured it out with the tempfile module.

Though in that case, Python isn't actually the one doing most of the
work - the tempfile module handballs responsibility to the lower-level
functions. But yes, there's HEAPS that you don't have to worry about,
because it's Someone Else's Problem.

ChrisA

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


Thread

Sort list of dictionaries Charles Heizer <ceh329@gmail.com> - 2015-03-02 10:17 -0800
  Re: Sort list of dictionaries Emile van Sebille <emile@fenx.com> - 2015-03-02 10:31 -0800
    Re: Sort list of dictionaries Charles Heizer <ceh329@gmail.com> - 2015-03-02 10:38 -0800
      Re: Sort list of dictionaries Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-02 11:55 -0700
      Re: Sort list of dictionaries Charles Heizer <ceh329@gmail.com> - 2015-03-02 10:58 -0800
        Re: Sort list of dictionaries Peter Otten <__peter__@web.de> - 2015-03-02 20:23 +0100
          Re: Sort list of dictionaries Charles Heizer <ceh329@gmail.com> - 2015-03-03 07:56 -0800
            Re: Sort list of dictionaries Chris Angelico <rosuav@gmail.com> - 2015-03-04 03:09 +1100
              Re: Sort list of dictionaries Paul  Moore <p.f.moore@gmail.com> - 2015-03-03 08:48 -0800
            Re: Sort list of dictionaries Peter Otten <__peter__@web.de> - 2015-03-03 18:44 +0100
      Re: Sort list of dictionaries Dave Angel <davea@davea.name> - 2015-03-02 13:59 -0500
      Re: Sort list of dictionaries Jason Friedman <jsf80238@gmail.com> - 2015-03-02 22:33 -0700
      Re: Sort list of dictionaries Chris Angelico <rosuav@gmail.com> - 2015-03-03 18:07 +1100
      Re: Sort list of dictionaries Jason Friedman <jsf80238@gmail.com> - 2015-03-03 07:45 -0700
      Re: Sort list of dictionaries Chris Angelico <rosuav@gmail.com> - 2015-03-04 01:50 +1100
  Re: Sort list of dictionaries Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-03 18:55 +1100

csiph-web