Dan S said :
> > import locale
> > locale.setlocale(locale.LC_ALL, 'de_DE')
oh nice.
Did not know about this one.
> > but i dont see how to get a list with the installed locales
>
> list the contents of /usr/lib/locale perhaps?
yup, or catch the output of
locale -a
> > interfacing with shell commands can be done this way
> >
> > import os
> > stdout_handle = os.popen("ls /home/r2d2", "r")
> > text = stdout_handle.read()
> > print text
yes that was the idea originally to set $LANG
a.
---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne