Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Hans-Georg Joepgen Newsgroups: de.comp.lang.python Subject: Re: [Python-de] Datetime frage Date: Sun, 11 Dec 2016 20:49:52 +0100 Lines: 50 Message-ID: References: <8181BE5F-437F-482D-8D35-5607444BD9BE@zopyx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net NPUI5ZgpAS8DDe5+d+rHtwynyFMqXeT2WQAfj4/c5359Cjlttm Cancel-Lock: sha1:nmLfG1nwyhktQMcrHnVC6BmfcJA= User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 In-Reply-To: Xref: csiph.com de.comp.lang.python:4598 Am 11.12.2016 um 20:29 schrieb Andreas Jung: > Funktioniert bei mir auf Mac und Linux. > > -aj > > > -- > Andreas Jung > Hundskapfklinge 33 > D-72074 Tübingen > Tel. +49 7071 793257 > andreas@andreas-jung.com > > On 11 Dec 2016, at 20:20, Manfred Gil wrote: > >> Am Sun, 11 Dec 2016 19:39:55 +0100 schrieb Andreas Jung: >> >>> import datetime as dt import locale locale.setlocale(locale.LC_ALL, >>> 'de_DE') >> >> Hallo Andreas >> >> folgende Fehlermeldung: >> >> File "DatumsTest_2.py", line 29, in >> locale.setlocale(locale.LC_ALL,'de_DE') >> File "/usr/lib/python3.4/locale.py", line 592, in setlocale >> return _setlocale(category, locale) >> locale.Error: unsupported locale setting >> >> IMHO sind die Locale bei mir alle richtig gesetzt. >> >> Debian 8.6 >> >> Gruß >> >> Manfred >> >> >> >> >> -- >> DIE ENTEN SIND SICHER! >> _______________________________________________ >> python-de maillist - python-de@python.org >> https://mail.python.org/mailman/listinfo/python-de Gleicher Fehler unter Win10/64 mit Python 3.5.2 -- Joe