How to get the filename in the right case ?

Michael Torrie torriem at
Sat Sep 27 13:23:50 CEST 2008

Steven D'Aprano wrote:
> On Fri, 26 Sep 2008 01:46:15 +0200, Stef Mientki wrote:
>> Secondly thoughtless copying of current behavior, doesn't bring any
>> progress,
>> and I think that's one of the reasons why we're still burdened by
>> inventions done 20 years ago,
>> e.g. "do you want to save your changes ?".
> I click No about 50% of the time, and Yes Of Course You Stupid Machine 
> the other 50% of the time. Until they have a computer capable of reading 
> my mind, I'm curious what alternative you'd suggest.

It's well known that just using "Yes" and "No" in a dialog box is very,
very poor UI design.  In many cases it leads to confusion.  Especially
when the dialog box has both a statement and a question, which many do.
 The correct and proper way is to use only verbs in the buttons.  For
example instead of yes/no to the question of saving work before exiting,
you'd use "save" and "don't save."  That's extremely clear even if you
don't quite understand the statement and question the dialog is asking.

Certainly the human-interface guidelines on the more sane systems out
there (OS X, Gnome) disallow the use of yes/no buttons in dialog boxes.

More information about the Python-list mailing list