|
From: | Colin Macdonald |
Subject: | Re: SoCiS: interfacing Symbolics package with Python |
Date: | Sat, 25 Apr 2015 16:20:51 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 25/04/15 12:42, Tomasz Ożański wrote:
I would like to ask you one question regarding the topic: what do you mean in „interacting with Python as a library”? I do not know SymPy, but it seems to be written entirely in Python so it must not exist as a standard system library, so my guess is I would have to write some intermediate code in C/C++ to handle all the communication, am I right?
Currently, Symbolic uses a pipe to call the python executable.Instead: talk to Python library from C/C++, deal with exceptions properly etc. SymPy itself is probably rather secondary to this.
See the recent thread on "pytave" on this maillist. Colin
[Prev in Thread] | Current Thread | [Next in Thread] |