def translate(old, new, points):
    diff = new - old
    points[:] = points + diff
    return points
Encode a string.
dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/translate--crossover with--dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/base64.py/encodestring