"Stefan Seefeld" wrote: >On
23.07.2017 03:15, Jian wrote: >> >> Hi Stefan, >> >> I still got a assertion
failed at Py_Initialize(). Below is the message. >> >> Program:
C:\Python35\python35_d.dll >> File: ..\Objects\object.c >> Line: 84 >
thon::error_already_set) {
PyErr_Print();
}
return 0;
}
Please help check it.
Thanks & Best Regards,
John.
At 2017-07-23 01:01:29, "Stefan Seefeld" wrote:
>On 21.07.2017 23:17, Jian wrote:
>> Hi Imre,
>>
>> I tried to use boost.python as you adv
f it can be done in C/C++ in Linux?
Thanks again for your kind help.
Best Regards,
Jian
At 2017-07-20 22:34:35, "Stefan Seefeld" wrote:
>On 19.07.2017 23:25, Jian wrote:
>>
>> Dear Gurus,
>>
>> I want to embed python interpreter in my program. What I want is
espace);
>
>// declare a variable named return_value in the script,
>// and you can extract it's value to c++ like this
>std::wstring output =
>extract(main_namespace["return_value"]);
>
>} catch( boost::python::error_already_set
ript.py",
>main_namespace, main_namespace);
>
>// declare a variable named return_value in the script,
>// and you can extract it's value to c++ like this
> std::wstring output =
>extract(main_namespace["return_value"]);
>
>
Dear Gurus,
I want to embed python interpreter in my program. What I want is to redirect
those output to a control such as RICHEDIT which can be modified as a output
window in my program. So I can write *.py files outside of program and invoke
it inside program as a script file. In order to get