Answer the question
In order to leave comments, you need to log in
How to get month in nominative case in python?
I do it like this:
import locale
locale.setlocale(locale.LC_ALL, 'ru_RU.UTF-8')
myDate = datetime.today()
myMonth = myDate.strftime('%B')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question