On 8/5/2010 6:13 PM, Steven D'Aprano wrote:
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__
'1.0.3'



It is now written in my Py book. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to