Package mystic :: Module helputil

Module helputil

source code

Tools for prettifying help

Some of following code is taken from Ka-Ping Yee's pydoc module

Functions
 
commandfy(text)
Format a command string
source code
 
commandstring(text, BoldQ)
Bolds all lines in text that returns true by predicate BoldQ.
source code
 
paginate(text, BoldQ=lambda linein: linein.lstrip() [0]=='#')
break printed content into pages
source code