Re: determine os language

2005-03-19 Thread Diez B. Roggisch
Bryan wrote: > is there a way to determine the operating system's language? i can't seem > to find a method that returns the value. Try the module locale. -- Regards, Diez B. Roggisch -- http://mail.python.org/mailman/listinfo/python-list

Re: determine os language

2005-03-19 Thread Bryan
Bryan wrote: is there a way to determine the operating system's language? i can't seem to find a method that returns the value. thanks, bryan found it myself, thanks... >>> import locale >>> locale.getdefaultlocale() ('en_US', 'cp1252') >>> -- http://mail.python.org/mailman/listinfo/python-list