Possible Duplicate:
Add timestamps in python
dates = {}
dates.update({'2011-03-07':'16:03:01'})
dates.update({'2011-03-06':'16:03:01'})
dates.update({'2011-03-08':'16:03:01'})
dates.update({'2011-03-04':'16:03:01'})
dates.update({'2011-05-16':'16:03:01'})
dates.update({'2011-05-18':'16:03:01'})
dates.update({'2011-07-16':'16:03:01'})
dates.update({'2011-07-17':'16:03:01'})
From the above dictionary how to how to add the all the timestamps for a particular month in python2.4
Output: