Object true location function

Hi,
Is in blender option/function which return object’s true posistion in 3d space?



I am using constraint “Follow path” so location of my empty is equal 0,0,0 but I need real position of my object.

(bpy.data.scenes[‘Scene’].objects[‘Empty.001’].location[0] return 0)

bpy.context.scene.objects[‘Empty.001’].matrix_world.to_translation().x

thanks a lot