[wxPython-users] Handling Case Differences
Christopher Barker
Chris.Barker at noaa.gov
Mon Feb 12 09:27:39 PST 2007
Rich Shepard wrote:
> But, to ensure that capitalization is consistent, I suppose that I really
> need to validate each entry as it's made, and correct the initial letter
> case as necessary.
The easiest thing to do would be to add a .lower() whenever you add data
to the database -- not checking, just do it every time.
This does present a usability issue, in that the user will type in:
"Something"
and later, look at the "same" data, and get:
"something"
but I doubt that's an issue for you.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list