Help! Can't build engine from source

Ok, if there’s no direct replacements in python, are there any documents for this UE function Fpythonscriptplugin::Evalstring() so I can rewrite it myself? I can’t seem to find any. Thanks to your link, I think I can use Py_CompileStringExFlags() if I know where to put it.