Re: Alphabetics respect to a given locale

2011-04-02 Thread python
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

Re: Alphabetics respect to a given locale

2011-04-02 Thread candide
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

Re: Alphabetics respect to a given locale

2011-04-01 Thread Emile van Sebille
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

Re: Alphabetics respect to a given locale

2011-04-01 Thread eryksun ()
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

Alphabetics respect to a given locale

2011-04-01 Thread candide
How to retrieve the list of all characters defined as alphabetic for the current locale ? -- http://mail.python.org/mailman/listinfo/python-list