How to use a Python library


(Lyle Johnson) #1

what is the best way to use a python library from Ruby code.
Any ideas other then then simply (??) writing a Ruby -> C -> Python
wrapper by hand.

Haven’t tried this at all, but I do see a “Ruby/Python” entry in the
Ruby Application Archive:

 http://www.goto.info.waseda.ac.jp/~fukusima/ruby/python-e.html

HTH,

Lyle


(Paul Brannan) #2

I’ve tried it. The web page looks really nice and has some good
examples. It worked with some simple tests I wrote, but wasn’t complete
enough to allow me to use Omniorb with Ruby. (I suspect this might have
had something to do with exceptions).

Paul

···

On Sat, Jun 08, 2002 at 04:56:35AM +0900, Lyle Johnson wrote:

Haven’t tried this at all, but I do see a “Ruby/Python” entry in the
Ruby Application Archive:

 http://www.goto.info.waseda.ac.jp/~fukusima/ruby/python-e.html