Development Tools

The modules described in this chapter help you write software. For example, thepydoc module takes a module and generates documentation based on themodule’s contents. Thedoctest andunittest modules containsframeworks for writing unit tests that automatically exercise code and verifythat the expected output is produced.2to3 can translate Python 2.xsource code into valid Python 3.x code.

The list of modules described in this chapter is:

See also the Python development mode: the-Xdev option andPYTHONDEVMODE environment variable.