File: makeflatascii.py

package info (click to toggle)
cbflib 0.9.7%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 65,244 kB
  • sloc: ansic: 131,361; python: 22,780; sh: 3,048; makefile: 2,086; yacc: 659; java: 223; f90: 214; xml: 210; cpp: 58
file content (6 lines) | stat: -rw-r--r-- 154 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6

import pydoc, pycbf, sys
f = open(sys.argv[1],"w")
pydoc.pager=lambda text: f.write(text)
pydoc.TextDoc.bold = lambda self,text : text
pydoc.help(pycbf)