python-日期循环
# -*- coding: utf-8 -*-import datetime def main(): begin = datetime.date(2012,6,1) end = datetime.date(2012,6,7) for i in range((end - begin).days+1): day = begin + datetime.timedel