John [H2O] wrote:
Is there a quick way to list the version of each installed module?

import sys
for name, module in sorted(sys.modules.items()):
    if hasattr(module, '__version__'):
        print name, module.__version__

Of course if you add __VERSION__, VERSION, and version, you
may get more.

--Scott David Daniels
[EMAIL PROTECTED]

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to