def extract_vars_above(*names):

    callerNS = sys._getframe(2).f_locals
    return dict((k,callerNS[k]) for k in names)
transfers shader from source to target
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/frame.py/extract_vars_above--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/auxiliary.py/transfer_shaders