[Tutor] What is the difference between checking false?

Jim Mooney cybervigilante at gmail.com
Sun Jun 16 04:21:26 CEST 2013


On 15 June 2013 19:03, Dave Angel <davea at davea.name> wrote:
> Why such a convoluted way of expressing yourself?

I was demonstrating the parallelism, but let's just take one so I can
unbefuddle meself ;')

*** Python 3.3.2 32 bit (Intel)] on win32. ***
>>> '' == False
False
>>> not ''
True
>>>

Why the difference here?

-- 
Jim
After indictment the bacon smuggler was put on the no-fry list


More information about the Tutor mailing list