Re: Module list generation

2004-12-05 Thread Doug Kearns
In article <[EMAIL PROTECTED]>, Scott David Daniels wrote: > Doug Kearns wrote: >> Is this the best/simplest way to generate a module list? >> >> python -c 'from pydoc import help; help("modules")' >> >> Thanks, >> Doug > I am not sure if this is what you want, but how about: I'm updating the zs

Re: Module list generation

2004-12-03 Thread Scott David Daniels
Doug Kearns wrote: Is this the best/simplest way to generate a module list? python -c 'from pydoc import help; help("modules")' Thanks, Doug I am not sure if this is what you want, but how about: For python 2.4, try: python -c "import sys; print sorted(sys.modules)" For earlier pythons, use: pytho

Module list generation

2004-12-03 Thread Doug Kearns
Is this the best/simplest way to generate a module list? python -c 'from pydoc import help; help("modules")' Thanks, Doug -- http://mail.python.org/mailman/listinfo/python-list