import bpy  
  
class MoveWhitePawn(bpy.types.Operator):  
    bl_idname = "object.movewhitepawn_operator"  
    bl_label = "Move White Pawn"  
  
    def execute(self, context):  
        context.active_object.location.y += 2.75  
        return {'FINISHED'}  
  
def register():  
    bpy.utils.register_class(MoveWhitePawn)  
  
if __name__ == "__main__":  
    register()