from datetime import datetime
month_list=['jan','feb','mar','apr','may','jun','jul','aug','sept','oct','nov','dec']
month_list[datetime.strptime(td,'%Y-%m-%d').month-1]
from datetime import datetime
month_list=['jan','feb','mar','apr','may','jun','jul','aug','sept','oct','nov','dec']
month_list[datetime.strptime(td,'%Y-%m-%d').month-1]