blender 2.6 object location

does anyone know how to retrieve the world location of an object.

ie[‘myObj’].location.z == local space

I want world space???

Interesting way of asking a question.

>> C.object.matrix_world.to_translation(
.. method:: to_translation()
Return a the translation part of a 4 row matrix.
:return: Return a the translation of a matrix.
:rtype: :class:`Vector`
>>> C.object.matrix_world.to_translation()
Vector((0.0, 0.0, 0.0))


perfect thanks for the speed its been pissing me off all day