anchor.diff:  
     try
       GetPythonEngine.ExecString(SCmd1);
  -    //Result:= GetPythonEngine.EvalStringAsStr(SCmd2);
       Result:= Py_EvalStringAsString(SCmd2);
     except
     end;
  
positive.code:     end;
    end;
  end;
  
  
  function Py_RunPlugin_Event(const SModule, SCmd: string;
  
negative.code: end;
  
  
  //simple api--testing it
  function Py_EvalStringAsString(const command: string): string;
  begin
    Result:= GetPythonEngine.EvalStringAsStr(command);
  end;
  
  //no such method on PythonEngine code
  //got this code from forum
  (*
  function Py_EvalStringAsString(const command: string): string;
  var
    obj: PPyObject;
  