[Tutor] Help me with this problem relating to datetime

Asrarahmed Kadri ajkadri at googlemail.com
Thu Nov 16 01:36:33 CET 2006


SOrry for that.
I was wondering if someoen can give a hint about the implementation.
I am not asking for the actual code.

Regards,
Asrarahmed

On 11/16/06, Luke Paireepinart <rabidpoobear at gmail.com> wrote:
>
> Asrarahmed Kadri wrote:
> > Hi Folks,
> >
> >
> > I have got a date (as string), time (as string) , number of slots (
> > integer) and delta ( which is in seconds).
> > I want to create a dictionary which has got date as the key, and the
> > value should be a tuple with two elements (start_time, end_time).
> >
> > I will take start_time and find the end_time using delta. This pair of
> > start and end times have a corresponding date. The date will be used
> > as the key for the dictionary. Once the time crosses midnight, the
> > date will change.
> >
> >
> > Can you help me to implement this functionality?
> yes.
> http://catb.org/esr/faqs/smart-questions.html#prune
> :).
> -Luke
> >
> > TIA.
> >
> > Best Regards,
> > Asrarahmed
> >
> >
> >
> > --
> > To HIM you shall return.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tutor maillist  -  Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >
>
>


-- 
To HIM you shall return.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061116/db44ef47/attachment.htm 


More information about the Tutor mailing list