diff --git a/aula167.py b/aula167.py new file mode 100644 index 0000000..f83ce86 --- /dev/null +++ b/aula167.py @@ -0,0 +1,9 @@ +# locale para internacionalização (tradução) +# https://docs.python.org/3/library/locale.html +# https://learn.microsoft.com/fr-fr/powershell/module/international/get-winsystemlocale?view=windowsserver2022-ps&viewFallbackFrom=win10-ps +import calendar +import locale + +locale.setlocale(locale.LC_ALL, '') + +print(calendar.calendar(2022))