pydoc.writedoc()

pydoc.writedoc(thing, forceload=0)[source]

Write HTML documentation to a file in the current directory.