I'm a little confused. Why doesn't s evaluate to True in the first part, but it does in the second? Is the first statement something different?
>>> s = 'hello'
>>> s == True
False
>>> if s:
print 'hi'
hi
>>>
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
