From: Steven D'Aprano on
On Thu, 05 Aug 2010 17:55:30 -0700, W. eWatson wrote:

> I'm pretty sure he has the same version of Python, 2.5, but perhaps not
> the numpy or scipy modules. I need to find out his version numbers.

It's only a convention, but the usual way is to check the __version__
attribute. It works for Numpy:

>>> import numpy
>>> numpy.__version__