locale.atoi()

locale.atoi(str)[source]

Converts a string to an integer according to the locale settings.