[CentralOH] chr()/ord() Ugliness

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Mon Nov 11 19:46:59 CET 2013


On Mon, 11 Nov 2013 10:41:29 -0500, Eric Floehr <eric at intellovations.com> wrote:

[> On Mon, 11 Nov 2013 10:34:00 -0500, michael at yanovich.net wrote:]

> > string.uppercase returns a string of all the capital letters in ASCII.

> string.uppercase is locale-dependent, so while in most locales it will be
> ASCII, it won't in all locales.

Sometimes that's not desirable. Sometimes that desirable.

> Because of that fact (i.e. a constant that changes :-), string.uppercase
> (and lowercase and letters) have been removed from Python 3.

What does one use to get the locale dependent uppercase letters? 



More information about the CentralOH mailing list