Sort list of dictionaries

Chris Angelico rosuav at gmail.com
Tue Mar 3 09:50:49 EST 2015


On Wed, Mar 4, 2015 at 1:45 AM, Jason Friedman <jsf80238 at 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



More information about the Python-list mailing list