Bill Hawkes added the comment:
Yes, it is working now. Thanks for the timely response.
In looking at the tutorial, the only "strings" used with boolean operators ("<"
| ">" | "==" | ">=" | "<=" | "!=") were strings of the numeric variety. I saw
no examples using words. I know the datetime mod
Jean-Paul Calderone added the comment:
You mistakenly used "is" for these comparisons, rather than "==". The strftime
involvement is a red herring. The real problem is the use of an /identity/
comparison rather than an /equality/ comparison.
--
nosy: +exarkun
resolution: -> invalid
New submission from Bill Hawkes :
See below. When variable assignment is used with strftime for the day of the
week, it fails comparison checks for the days of the week. Even when using the
str() function it still fails. Manual entry of variable assignment is required
for a successful comparis