I want to set up some code that depending on the time of day (internal computer time i guess). It switches to do something else.
Heres in english:
y = 1 <br> if 6:30am then<br> x = 1 + y<br> if 7:00am then<br> x = 2 + y<br> if any_other_time then<br> x = 0<br>
Here is what i have so far in my script.
import time<br> clock = time.time() y = 0 if clock < 6:30am x = 2 + y
but i know this isn't right because time.time displays something different then 6:30am