How get object possition after action in Blender_Game
Bpy does not work in the game engine. Instead you have to use the game engine modules

For this particluar application, your script could look something like:

import bge

cont = bge.logic.getCurrentController()
own = cont.owner
scene = own.scene
button = scene.objects['buttonLogic1']
print(own.worldPosition)


The standalone modules are also available in the game engine.