Autor: Martin Rubey
Data: 2008-10-29 09:34 +900
Dla: python-list
CC: sage-devel
Temat: calling python from lisp
http://archives.free.net.ph/message/20081029.003410.172560ac.pl.html
>sys:1: RuntimeWarning: Python C API version mismatch for module pol: This
>Python has API version 1013, module pol
I write little script run python via netcat
http://www2s.biglobe.ne.jp/~niitsuma/jsonrpcdirect.html
Usage
$ netcat localhost 31415
{"method": "numpy.linalg.norm", "params": [[2,2]], "id": 0}
then get response
{"result": 2.8284271247461903, "error": null, "id": 0}
--
http://mail.python.org/m