Месяц извлечения в качестве целочисленного питона

datetime_object = datetime.datetime.strptime(month_name, "%b")
Helpful Hedgehog