Re: list versions of all installed modules

2008-10-30 Thread John [H2O]
Excellent! Thank you. Gerhard Häring wrote: > > John [H2O] wrote: >> Is there a quick way to list the version of each installed module? > > $ sudo easy_install yolk > $ yolk -l > > -- Gerhard > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- View this message in contex

Re: list versions of all installed modules

2008-10-28 Thread Scott David Daniels
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 mor

Re: list versions of all installed modules

2008-10-28 Thread Gerhard Häring
John [H2O] wrote: Is there a quick way to list the version of each installed module? $ sudo easy_install yolk $ yolk -l -- Gerhard -- http://mail.python.org/mailman/listinfo/python-list