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:
dir = File.dirname(FILE)
RubyPython.start(:python_exe => ‘python2.7’)
@sys = RubyPython.import ‘sys’
@sys.path.append File.join(dir, ‘boar’)
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
‘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!!
- 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: What happens if we train people and they leave?
CTO: What if we dont and they stay?