atof(string, func=<class 'float'>) |
Parses a string as a float according to the locale settings. [extrait de atof.__doc__] |
atoi(string) |
Converts a string to an integer according to the locale settings. [extrait de atoi.__doc__] |
currency(val, symbol=True, grouping=False, international=False) |
Formats val according to the currency settings [extrait de currency.__doc__] |
delocalize(string) |
Parses a string as a normalized number according to the locale settings. [extrait de delocalize.__doc__] |
format_string(f, val, grouping=False, monetary=False) |
Formats a string in the same way that the % formatting would use, [extrait de format_string.__doc__] |
getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')) |
Tries to determine the default locale settings and returns [extrait de getdefaultlocale.__doc__] |
getencoding() |
Get the current locale encoding. [extrait de getencoding.__doc__] |
getlocale(category=2) |
Returns the current setting for the given locale category as [extrait de getlocale.__doc__] |
getpreferredencoding(do_setlocale=True) |
Return the charset that the user is likely using. [extrait de getpreferredencoding.__doc__] |
localeconv() |
Returns numeric and monetary locale-specific parameters. [extrait de localeconv.__doc__] |
localize(string, grouping=False, monetary=False) |
Parses a string as locale number according to the locale settings. [extrait de localize.__doc__] |
normalize(localename) |
Returns a normalized locale code for the given locale [extrait de normalize.__doc__] |
setlocale(category, locale=None) |
Set the locale for the given category. The locale can be [extrait de setlocale.__doc__] |
str(val) |
Convert float to string, taking the locale into account. [extrait de str.__doc__] |
strcoll(os1, os2) |
Compares two strings according to the locale. [extrait de strcoll.__doc__] |
strxfrm(string) |
Return a string that can be used as a key for locale-aware comparisons. [extrait de strxfrm.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :