Export precise coordinates of multiple objects in a txt file

As the title says I need to export multiple precise coordinates of objects in a txt file and then load into a GameEngine its exact location.