News for hackers. Stuff that matters.
Re:Why Python rocks for research by wynand on Wednesday November 03, 2010 @11:58AM (#1865210)
I'm a long time Python programmer and I am currently using it for scientific programming (for my PhD).

I've shopped around a lot for alternatives to Python and looked at Ocaml, F#, Boo, Clojure, Common Lisp, Haskell and Scala.

There are a couple of things still keeping me with Python:

* The REPL, especially IPython,

* Numpy & Scipy,

* Networkx & igraph,

* jpype for fairly seamless JVM integration (this way, I can interact with Cytoscape), rpy for fairly seamless R integration,

* ZODB,

* IPython's parallel processing framework.

The .net environment probably comes the closest to providing everything here, but the REPLs need a lot of work and the graph libraries have more complicated interfaces which make them a pain to use on the command line.

Python is not without its warts but when I recently had to spend time with Matlab again after a few years, I was reminded of just how nice the Python ecosystem is in comparison.

Update: I should add that if you rely on one of Matlab's toolboxes, you might not find any decent alternatives outside of Matlab. You can always use a bridge like MLabWrap to access Matlab from Python.

There are no comments on this comment yet.