def replayRecording(recording, pen):
    """Replay a recording, as produced by RecordingPointPen, to a pointpen.

    Note that recording does not have to be produced by those pens.
    It can be any iterable of tuples of method name and tuple-of-arguments.
    Likewise, pen can be any objects receiving those method calls.
    """
    for operator, operands, kwargs in recording:
        getattr(pen, operator)(*operands, **kwargs)
