From: serialhex Date: 2011-12-23T04:18:28+09:00 Subject: rubypython question --f46d042c64231f4e7c04b4b32ad4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable ok, so i have a big Q about rubypython: how on *EARTH* does one make an instance of a python object in ruby. here is the code i have so far: ### require 'rubypython' require 'pry' class BoarWrap dir =3D File.dirname(__FILE__) RubyPython.start(:python_exe =3D> 'python2.7') @sys =3D RubyPython.import 'sys' @sys.path.append File.join(dir, 'boar') binding.pry end ### yes, it is butt naked, i'm trying to write a gui wrapper around boar ( http://code.google.com/p/boar/) and i (think i) need to make an instance of 'front' in order to do so, so i need to figure out how to make said instance. the rubypython library docs aren't much help and reading the specs dosn't give me much insight... so, any pushing in the right direction would be much appreciated!! hex --=20 * my blog is cooler than yours: http://serialhex.github.com * The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience." * As a programmer, it is your job to put yourself out of business. What you do today can be automated tomorrow. ~Doug McIlroy --- CFO: =93What happens if we train people and they leave?=94 CTO: =93What if we don=92t and they stay?=94 --f46d042c64231f4e7c04b4b32ad4--