From: Lyndon Samson Date: 2005-08-02T20:41:26+09:00 Subject: Re: Ruby-Python; using python from within ruby This seems to work for me, Windows only though... require 'Win32API' PyInitialize = Win32API.new("python24", "Py_Initialize", [], 'V') PyRun_SimpleString = Win32API.new("python24", "PyRun_SimpleString", ['P'], 'V') Py_Finalize = Win32API.new("python24", "Py_Finalize", [], 'V') pythonSrc = <