Or you may be looking for this, for activestate:
ppm query [download]
It gives a list of installed modules with version on stdout.
In reply to Re: Use of modules by erix in thread Use of modules by techgirl