gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] re: string.letters, string.lowercase, string.uppercas


From: Ian Haywood
Subject: Re: [Gnumed-devel] re: string.letters, string.lowercase, string.uppercase in non-english python setups.
Date: Tue, 27 Jul 2004 10:54:43 +1000

On Wed, 04 Aug 2004 18:10:37 +1000
sjtan <address@hidden> wrote:

> Could if it's not a-z  and has other characters, can someone print out 
> those lists and post them.
Why not just test the character using those variables, cf.

if chr (event.KeyCode ()) in string.letters:
        # it's a letter

this will always work in any locale

Ian
-- 
PGP public key E750652E at wwwkeys.pgp.net
9BF0 67B7 F84F F7EE 0C42  C063 28FC BC52 E750 652E

Attachment: pgpZtpO5pMA8j.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]