100th PyMOTW
Originally posted
· 1 min read
This week’s article on pydoc article on pydoc is
the 100th PyMOTW episode. Whew! To coincide with the coverage of
pydoc, I have also enhanced the command line script motw
that shows
the module of the week article for a given module. The plain text
output is now generated using the docutils rst-to-text converter
(instead of using the rst source as plain text). The pydoc pager is
used to display the text, so long articles no longer scroll off of the
screen right away.
There is also a motw()
function available as a built-in after you
import PyMOTW. That means you can use motw(module_name)
from within
the interactive interpreter just like from the command line.
Enjoy!