Object1 in the local coordinate system of Object2 I am trying to find the coordinates of Object1 in the local coordinates of Object2.  Neither Object1 nor Object2 are the object that the python code is attached to.

I can find the location of the 3D cursor relative to my active object using:
co_find = context_act.matrix_world.inverted() * context.sce.objects['Cube001'] 

But I do not know how to find the location of Object1 in the local coordinate system of Object2.

Does anyone know how to do this?
To get the matrix of ob1 in the local space of ob2

mwi = ob2.matrix_world.inverted()
m_local2ob2 = mwi * ob1.matrix_world

loc = m_local2ob2.to_translation() # local loc
loc, rot, scale = m_local2ob2.decompose()