in my C++
application, I want to invoke a Python
script to do some processing works. I have searched in Google and found there are two ways to do this:
(1). use the `system` command. Just like this, `system('python myscript.py');`
(2). use the `PyRun_SimpleString("execfile('myscript.py')");`
I want to ask that, which way is better and is there any better way to do this work?
Thanks.