in reply to Use of modules

Or you may be looking for this, for activestate:

ppm query

It gives a list of installed modules with version on stdout.