triple quoted string that provides an overview of the module' contentsoften including some usage examples--this is the module' docstring here is the start of the textutil py file (but with the license comment lines omitted)#!/usr/bin/env python copyright ( - qtrac ltd all rights reserved ""this module provides few string manipulation functions is_balanced("(python (is (not (lisp))))"true shorten("the crossing" 'the cro simplify(some text with spurious 'some text with spurious whitespace""whitespace "import string this module' docstring is available to programs (or other modulesthat import the module as textutil __doc__ after the module docstring come the importsin this case just oneand then the rest of the module shorten( we have already seen the shorten(function reproduced in fullso we will not repeat it here and since our focus is on modules rather than on functionsalthough we will show the simplify(function in fullincluding its docstringwe will show only the code for is_balanced(this is the simplify(functionbroken into two partsdef simplify(textwhitespace=string whitespacedelete="") """returns the text with multiple spaces reduced to single spaces the whitespace parameter is string of characterseach of which is considered to be space if delete is not empty it should be stringin which case any characters in the delete string are excluded from the resultant string simplify(this and\ that\ too"'this and that toosimplify(washington \ "'washington simplify(washington \ "delete=",;"'washington dcsimplify(disemvoweled "delete="aeiou"'dsmvwld""