Get Location of an empty with shrinkwarp constraint I like to read the location values of an empty by a phyton script.
The empty has a shrinkwarp constraint an is projected to an plane (ground).

With >>> 

bpy.data.objects['empty_left.005'].location 


i get: 

Vector((3.6352062225341797, 5.1430134773254395, 0.0))


but the z-value is the origin value and not the projection value.

If i use the z-value as a variable for a driver, the correct value is used:
You can get the location from the world matrix:

empty.matrix_world.translation