From: shunting@... (Sam Hunting) Date: 2002-09-15T07:06:02+09:00 Subject: Getting Python and Ruby to Talk to Each Other A clueless Ruby newbie seeks help... I have gotten Ruby's amazing Linda tuplespace up and running which was incredibly easy, so not using Ruby is not an option -- and I have a database (not relational, not at all standard, written in C) that I must use a Python extension to query and capture result sets, so not using Python is not an option. So how can I pass a query (in the form of a text string) from rinda to Python, and how can I pass the results (also in the form of a text string) from Python back to rinda? I tried opening the same socket in Python and Ruby (works in Ruby only!) and got a "packet size" error. It's also been suggested to me that I use mkfifo to set up a pipe for the Python process to communicate with the Ruby process. Any thoughts on this? I'm obviously quite inexperienced at this, so a sample snippet of ruby code would really help. Thanks in advance!