[IPython-dev] Embedding IPython in C using Python/C API
fperez.net at gmail.com
Sun Feb 23 17:13:58 EST 2014
You may want to look at the various high-level entry points here:
It may be more convenient for you to put all the python code you'll need in
a file and use one of the file-oriented C API functions.
But overall, you're on the right track: IPython has no pure C API, only
Python. So you'll need to use the functions to call Python source code from
On Sun, Feb 23, 2014 at 1:58 PM, Filipe Saraiva <filipe at kde.org> wrote:
> I would like to develop an IPython backend for Cantor, a IDE from
> KDE-edu project for several mathematical softwares like Python 2,
> Scilab, Maxima, Octave, etc. You can see the Python 2 backend info in
> I searched for info on the web about the use of Python/C API and IPython
> but I can not find anything. I am thinking in to use PyRun_SimpleString
> to send commands to IPython and get the commands output using
> stdout/stderr to show this outputs in C side.
> I will appreciate any reference to use of Python/C API in IPython.
> Thank you;
> Filipe Saraiva
> IPython-dev mailing list
> IPython-dev at scipy.org
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev