How to learn to move objects by means of a script in python?
if you don't know anything at all as you say, i suggest you that search tutorials on YouTube (there's a lot) and you can found information about Blender game Engine in the Python API documentation Python API bge.KX_GameObject where you would see the functions that handles and object like:

move object:

from bge import logic
logic.getCurrentController().owner.localLinearVelocity.y = 0.5
## also localLinearVelocity = (0,0.5,0) or setLinearVelocity(vector, local=True)


rotate object:

from bge import logic
logic.getCurrentController().owner.applyRotation((0,0,0.02))


where owner is the object who has the Python controller (currentController) linked in it logic editor like this image: