En Tue, 25 Sep 2007 14:10:49 -0300, Robert Dailey <[EMAIL PROTECTED]>  
escribi�:

> I have a python script that I would like to invoke through my C++
> application. Does anyone know of a trivial way of doing this? Right now  
> the
> only idea I can come up with is using system("python myscript.py") in  
> C++.

If you don't want to "share" objects between Python and C++, that's the  
simplest way.
Or, look at the document "Extending and Embedding the Python Interpreter"  
<http://docs.python.org/ext/ext.html>

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to