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__] |
bind_textdomain_codeset(domain, codeset) |
Bind the C library's domain to codeset. [extrait de bind_textdomain_codeset.__doc__] |
bindtextdomain(domain, dir) |
Bind the C library's domain to dir. [extrait de bindtextdomain.__doc__] |
currency(val, symbol=True, grouping=False, international=False) |
Formats val according to the currency settings [extrait de currency.__doc__] |
dcgettext(domain, msg, category) |
Return translation of msg in domain and category. [extrait de dcgettext.__doc__] |
delocalize(string) |
Parses a string as a normalized number according to the locale settings. [extrait de delocalize.__doc__] |
dgettext(domain, msg) |
dgettext(domain, msg) -> string [extrait de dgettext.__doc__] |
format(percent, value, grouping=False, monetary=False, *additional) |
Deprecated, use format_string instead. [extrait de format.__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=0) |
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__] |
gettext(msg) |
gettext(msg) -> string [extrait de gettext.__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__] |
nl_langinfo(key) |
Return the value for the locale information associated with key. [extrait de nl_langinfo.__doc__] |
normalize(localename) |
Returns a normalized locale code for the given locale [extrait de normalize.__doc__] |
resetlocale(category=6) |
Sets the locale for category to the default setting. [extrait de resetlocale.__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__] |
textdomain(domain) |
Set the C library's textdmain to domain, returning the new domain. [extrait de textdomain.__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 :