use cpp2py to get real value