Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd love to see something like this but as a magic method for iPython Notebooks.

Using those you can integrate bash, R, Ruby, SQL, etc. into the same notebook and pass data between them all.

EDIT: Here's a link to most known magic extensions: https://github.com/ipython/ipython/wiki/Extensions-Index



Can't find a link, but I believe I've seen at least one demo passing data back and forth between Julia and Python in a notebook that looks similar to what you're referring to.

Edit: here's an example [0]

[0] http://nbviewer.ipython.org/urls/raw.github.com/JuliaLang/IJ...


Excellent work with IHaskell; I don't want to hijack this thread, but since it came up organically:

The PyCall.jl [1] package allows transparent calling of Python from Julia. It's quite stable and exceptionally well done (it was written by Steven G. Johnson of FFTW [2] fame – his software is uniformly impressive). The IJulia package [3], which primarily provides a pure Julia IPython kernel so that you can interact with Julia via the various IPython front-ends, also includes [4] a Python package for calling Julia from Python plus IPython "magics" for calling Julia from a normal IPython process. This is rather more experimental than IJulia, but should be usable.

[1] https://github.com/stevengj/PyCall.jl

[2] http://fftw.org

[3] https://github.com/JuliaLang/IJulia.jl

[4] https://github.com/JuliaLang/IJulia.jl/tree/master/python




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: