Name

getlocale

Synopsis

getlocale(category=LC_TYPE)

Returns a pair of strings ( lang,encoding ) with the current setting for the given category. The category cannot be LC_ALL.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.