We’ve broken up this tutorial into four major sections:



Why Documenting Your Code Is So Important: An introduction to documentation and its importance

Commenting vs Documenting Code: An overview of the major differences between commenting and documenting, as well as the appropriate times and ways to use commenting

Documenting Your Python Code Base Using Docstrings: A deep dive into docstrings for classes, class methods, functions, modules, packages, and scripts, as well as what should be ...