I can see something here:
std::string NewApp::Testing()
{
char* test[] = {"test", 0};
PyObject* obj = Python::Py_Arg("test", "test", test);
std::string s = PyString_AsString(obj);
return s;
}
And here you 'define' "test" again:
def test(wrd):
return wrd
Do you know what type 'wrd' is? While I'm not Python literate, this line of code is not working as you think. Are you defining a function, a variable, a list, ???