>>> import locale
>>> locale.format("%i",35000,1)
'35000'
>>> locale.setlocale(locale.LC_ALL,'')
'Indonesian_Indonesia.1252'
>>> locale.format("%i",35000,1)
'35.000'
>>> locale.format("%i",35000,1)
'35000'
>>> locale.setlocale(locale.LC_ALL,'')
'Indonesian_Indonesia.1252'
>>> locale.format("%i",35000,1)
'35.000'