Newbie look at Python and OO

walterbyrd walterbyrd at iname.com
Thu May 10 16:48:57 EDT 2007


Thanx for all the replies, I may be slowly getting it. But, can
anybody explain this?

>>> a = 'hello'
>>> b = 'hello'
>>> a is b
True
>>> a = 'hello there'
>>> b = 'hello there'
>>> a is b
False




More information about the Python-list mailing list