Method: RubyPython::Interpreter#python

Defined in:
lib/rubypython/interpreter.rb

#pythonObject (readonly)

The name of the Python executable that is used. This is the value of ‘sys.executable’ for the Python interpreter provided in :python_exe or ‘python’ if it is not provided.

On Mac OS X Lion (10.7), this value is ‘/usr/bin/python’ for ‘python’.



180
181
182
# File 'lib/rubypython/interpreter.rb', line 180

def python
  @python
end