Python REPL in Ruby