I would second this, in my $DAYJOB which is focused on building search engines, python is one of the goto languages alongside R for doing a lot of exploratory stuff.
Sure ruby could, but it would have to play catchup adding things like sage, cython, numpy, scikits etc etc