position of objekt by prop

how can i set an position of an objekt that i don’t know the name of if I know it’s properety? (and it is the only obj whit that prop)
using blender 2.62

you should loop through a list with the object, and set the property as a condition for the action.
By default, the objects are in the scene object list, so you can find the object by typing:

import bge
obj= (ob [for ob in bge.logic.getCurrentScene().objects if "prop" in ob and ob["prop"]= add value here])# not really sure about the syntax
obj.worldPosition = (x,y,z)# or a movement function, like applyImpulse, or applyForce or setLinearVelocity)