Glen Zangirolami wrote:
> Thats for all the responses. I'm going to use Kents method. I'll let you
> know what I work out.
> 
> Rudiger - I did think about that. Luckily I am generating the list with
> a start datetime and end datetime so if those don't exist 
> in either end if the list I can insert them after I check the dates between.
> 
> 

If you can safely assume that the list of dates are always sorted, you
can simply write something like range_date(date_list[0], date_list[-1]).

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to