Candide,
Perhaps the Python Babel project has something that might help out?
http://babel.edgewall.org/
If this works out for you can you share your learning with the rest of
us? :)
Thanks and good luck!
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
Le 01/04/2011 22:55, candide a écrit :
How to retrieve the list of all characters defined as alphabetic for the
current locale ?
Thanks for the responses. Alas, neither solution works.
Under Ubuntu :
# --
import string
import locale
print locale.getdefaultlocale()
print
On 4/1/2011 1:55 PM candide said...
How to retrieve the list of all characters defined as alphabetic for the
current locale ?
I think this is supposed to work, but not for whatever reason for me
when I try to test after changing my locale (but I think that's a centos
thing)...
import locale
On Friday, April 1, 2011 4:55:42 PM UTC-4, candide wrote:
>
> How to retrieve the list of all characters defined as alphabetic for the
> current locale ?
Give this a shot:
In [1]: import string
In [2]: print string.letters
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
In [3]: import lo
How to retrieve the list of all characters defined as alphabetic for the
current locale ?
--
http://mail.python.org/mailman/listinfo/python-list