Найти - Пользователи
Полная версия: как перевести в российский формат?
Начало » Python для новичков » как перевести в российский формат?
1
ingfa_1981
как перевести в российский формат?
import calendar, locale
print (calendar.month_abbr)
alexsis
Вот так, например:
import locale
import calendar 
locale.setlocale(locale.LC_ALL, ("ru_RU", "utf8"))
print(calendar.month_abbr[6])
ingfa_1981
Танкью
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB