Call python script from ruby
One way would be exec.
result = exec("python script.py params")
You can shell-out to any shell binary and capture the response with backticks:
result = `python script.py params`
One way would be exec.
result = exec("python script.py params")
You can shell-out to any shell binary and capture the response with backticks:
result = `python script.py params`