Re: [Tutor] Help with time module

2005-05-13 Thread Alberto Troiano
Thank you so much Kent That's exactly what I was lookin for Regards Alberto http://graphics.hotmail.com/emvamp.gif"; width=12> Gaucho >From: Kent Johnson <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Help with time module >Date:

Re: [Tutor] Help with time module

2005-05-13 Thread Kent Johnson
Alberto Troiano wrote: > I have two strings like this > > hour1="14:30" > hour2="15:30" > > I want to compare them like this: > > if local_time between hour1 and hour2: > print True > else > print False > > Can anyone tell me how to make that comparison to work??? (I don't know > h

[Tutor] Help with time module

2005-05-13 Thread Alberto Troiano
Hey everyone I have two strings like this hour1="14:30" hour2="15:30" I want to compare them like this: if local_time between hour1 and hour2: print True else print False Can anyone tell me how to make that comparison to work??? (I don't know how to take only the time in this form