This is great for working with python - https://github.com/gregsexton/ob-ipython
I haven't had as much luck using it for other languages, but I also haven't put in much effort into trying.
I haven't had as much luck using it for other languages, but I also haven't put in much effort into trying.