I have a series of if statements in a function like this:
if time == "%%00":
#code
elif time == "%%15":
#code
elif time == "%%30":
#code
elif time == "%%45":
#code
Where time is 24 hour format ie. 0000-2400 and I'm checking what 15 interval time is at. All the statements are ignored however, so "%%interval" doesn't work. Is it just something simple I'm missing here or do I need a different method?
remodule.%is some kind of crazy string wildcard in Python (or that equality tests accept wildcards to begin with)?