What's the neatest way of getting dictionary entries in a specified order?

Chris Green cl at isbd.net
Wed Mar 8 15:23:35 EST 2017


Ethan Furman <ethan at stoneleaf.us> wrote:
> On 03/08/2017 11:27 AM, Chris Green wrote:
> 
> > The for loop gets the items from the dictionary in an order that isn't
> > what I want.  How can I configure things so they're in the order I want?
> 
> What order do you want?
> 
Well probably the First Name and Last Name, then phone or E-Mail.  But
it hardly matters, I just want to be able to specify the order.

-- 
Chris Green
·


More information about the Python-list mailing list