Historical Note

This page was migrated from the original p-nand-q.com site which was last updated in 2015. The content has been preserved exactly as it was, with only formatting updated for modern browsers. Over the coming days and weeks, the content will be reviewed and may be updated for accuracy and relevance. If you find any issues, please contact me.

Using Python to generate CHM and Word manuals

pydocgen is a Python-Powered script to generate Microsoft Word (TM) documents and HTMLHelp files from a plain HTML source.

As an example, this HTML source was used to generate this HTMLHelp file and this Word document. Incidentally, these files are the documentation for pydocgen ;)

Download

You can download the required files here.

Generating docs for the Python Standard Library

There is a special version of pydocgen that generates a helpfile from the docstrings of the Python Standard Library.

You can download both the sourcecode and the helpfile.