On Wed, 21 Aug 2002, David Abrahams wrote: > Now I get (well, I'm not sure how this will show up in your mailer, but for > me it's full of control characters): > > NNAAMMEE > docstring_ext > > FFIILLEE [...] > So my question is, is there a way to dump the text help for a module > without prompting and without any extra control characters? Hi -- sorry it took a couple of days to reply (i'm out of town). The pydoc module contains a function for precisely this purpose -- just run the string through pydoc.plain(). % pydoc pydoc.plain Python Library Documentation: function plain in pydoc plain(text) Remove boldface formatting from text. -- ?!ng
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4