calendar (date) iterator?

Marcus magoldfish at gmail.com
Tue Mar 6 20:58:56 CET 2007


Oops-- the iter needs to work better than I do! :)

> > iter = calendarIterator("03-12-2006")
> > print iter.next()
>
>    03-12-2006
     ^^^^^^^^^^
     03-13-2006


> > iter = calendarIterator("03-12-2006 01:00:00", "minutes")
> > print iter.next()
>
>    03-12-2006 01:01:00
     ^^^^^^^^^^
     03-13-2006




More information about the Python-list mailing list