[Tutor] dictionaries, objects and scoping...

Tiger12506 keridee at jayco.net
Wed Jan 23 00:58:03 CET 2008


Just a thought~

The built-in id() function can be useful in helping to sort out stuff. 
Returns a unique identifier for each object created so you can test whether 
a different name is a different object or just a different name for the same 
object. (This is what the  'is' operator does... Note: the 'is' operator and 
the '==' operator are not the same) 



More information about the Tutor mailing list