日期为上上个星期一到上个星期日
def getfilname(): monday = datetime.date.today() one_day = datetime.timedelta(days=1) ft_day = datetime.timedelta(days=14) while monday.weekday() != 0: monday -= one_day lastsunday = monday - one_day llastmonday = monday - ft_day return ("{}_{}_yunying").format(llastmonday, lastsunday)