Once again
>>> import locale >>> locale.getlocale() (None, None) >>> locale.setlocale(locale.LC_ALL, '') 'pl_PL.UTF-8' >>> locale.localeconv()['decimal_point'] ',' >>> locale.atof("100,1") 100.09999999999999
So after setting the locale it worked.
Once again
>>> import locale setlocale( locale. LC_ALL, '') localeconv( )['decimal_ point'] atof("100, 1")
>>> locale.getlocale()
(None, None)
>>> locale.
'pl_PL.UTF-8'
>>> locale.
','
>>> locale.
100.09999999999999
So after setting the locale it worked.