"/a" is not "/a" ?
joshua at joshuakugler.com
Fri Mar 6 20:44:45 CET 2009
Emanuele D'Arrigo wrote:
>>>> c = "/a"
>>>> d = "/a"
>>>> c == d
> True # all good so far
>>>> c is d
> False # eeeeek!
> Why c and d point to two different objects with an identical string
> content rather than the same object?
Because you instantiated two difference objects.
should get you started on Python and objects.
More information about the Python-list