I went ahead and used a date range generator: http://dpaste.com/107140/ to iterate over the range.I then compared the original list with the generated one and inserted the missing dates.
I was comparing the generated dates to dates in a list list of tuples: [(date, count), (date, count) ..... (date, count)] Here is the code: http://dpaste.com/107148/ Worked perfectly. Thanks for pointing me in the correct direction.
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor