>> When you print something, you always get the str version - ie, > > print something > > is essentially the same as > > print str(something) >
Paul: Thanks for the explanation of the 2 representations - I like to try to understand what's going on under the hood when I do something. I have been beating this code to death to figure out what is going on. It appears that the str representation is not equivalent to a string (not that it should be): print tmpJnts #[nt.Joint(u'joint1'), nt.Joint(u'joint2'), nt.Joint(u'joint3')] print tmpJnts[0] #joint1 print len(tmpJnts[0]) # Error - object of type 'Joint' has no len() print str(tmpJnts[0]) #joint1 print len(str(tmpJnts[0])) #6 -- http://groups.google.com/group/python_inside_maya
