Has anyone ever tried mucking with pydoc to the point where you can get it to give you output from a string input? For example I'd like to give it a whole module to generate documentation for but all within a string:
#little sample
module_code='''
"""Module docstring"""
def func1():
""" some docstring"""
pass
...
'''
pydoc.html(module_code) -> HTML output as a string
Any ideas?
-Greg
--
http://mail.python.org/mailman/listinfo/python-list
