Popular recipes by Michael Cornelius http://code.activestate.com/recipes/users/4160122/2008-06-30T07:51:43-07:00ActiveState Code RecipesIterating Over Dates (Python) 2008-06-30T07:51:43-07:00Michael Corneliushttp://code.activestate.com/recipes/users/4160122/http://code.activestate.com/recipes/574441-iterating-over-dates/ <p style="color: grey"> Python recipe 574441 by <a href="/recipes/users/4160122/">Michael Cornelius</a> (<a href="/recipes/tags/shortcuts/">shortcuts</a>). </p> <p>Iterate over a range of dates, [begin, end), day by day. By using datetime objects, rather than date object, it is possible to iterate over smaller time-granularities if desired.</p>