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

Chris Angelico rosuav at gmail.com
Wed Mar 8 17:10:18 EST 2017


On Thu, Mar 9, 2017 at 8:25 AM, Chris Green <cl at isbd.net> wrote:
> Chris Angelico <rosuav at gmail.com> wrote:
>> On Thu, Mar 9, 2017 at 6:27 AM, Chris Green <cl at isbd.net> wrote:
>> >     dbcol['firstname'] = col('First Name', True, False)
>> >     dbcol['lastname'] = col('Last Name', True, False)
>>
>> http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
>>
> Yes, I'm well aware of these issues, but it's my personal address book
> so I can avoid many/most of them.

So you assume that you'll never meet someone from another culture?
Okay. I'm pretty sure that counts as bigoted, but sure :)

As a general rule, it's safest to just have a single "name" field and
have done with it.

ChrisA



More information about the Python-list mailing list