Python Object awareness of being in an array?
Is there a way in Python for an object to 'know' what its array element id is? I.e 6 in an array, and the object itself prints out its own array element number, so '0,1,2,3,4,5'
No. The object could be inside everything and multiple objects at the same time, so it can't know unless you tell it.
In a word, no...