i am working with raspberry pi (python), i wanted to start reading a file at specific time of the the day, but the problem every time i try to compare between real time and my required time i don't get any thing and sometimes i get. typeerror:c an't compare datetime.time to str
import datetime
import time
timee = (" %s" %time.strftime("%H:%M:%S"))
t = datetime.time(14, 30, 00)
t1 = datetime.time(15, 30, 00)
if (timee >= t and timee <= t1):
print ('this is right')