Bill Hawkes <williamhawke...@yahoo.com> 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 module has a function for 
enumerating the days of the week, but it starts with Monday and ends with 
Sunday. I needed to start with Sunday and end with Saturday. The first thing I 
found for checking letter-filled strings was the "is" operator.

Perhaps a brief example of word comparisons in the tutorial would be useful. I 
know it would have helped me.

I can't say I have a clear understanding of the difference between the "is" and 
"==" operators, but I can accept that there apparently is some difference and 
there are situations where that difference matters. Again, thanks for the quick 
response.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to