How do I create documentation with Pydoc?

Another thing that people may find useful…make sure to leave off “.py” from your module name. For example, if you are trying to generate documentation for ‘original’ in ‘original.py‘:

yourcode_dir$ pydoc -w original.py
no Python documentation found for 'original.py'

yourcode_dir$ pydoc -w original
wrote original.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)