Re: "is" and ==

2007-05-29 Thread BlueJ774
On May 30, 12:57 am, Erik Max Francis <[EMAIL PROTECTED]> wrote: > BlueJ774 wrote: > > Can someone please explain to me the difference between the "is" > > keyword and the == boolean operator. I can't figure it out on my own > > and I can't find an

"is" and ==

2007-05-29 Thread BlueJ774
Can someone please explain to me the difference between the "is" keyword and the == boolean operator. I can't figure it out on my own and I can't find any documentation on it. I can't understand why this works: if text is None: and why this always returns false: if message is 'PING':