Package XPyTools :: Package scripts :: Module pep_parse
[hide private]
[frames] | no frames]

Module pep_parse

source code

Rename PEPs html and generate index page "pep_index.html".

Read folder contens (*.html files) and if they like PEP html then rename they to "PEP 0000 -- Title". Escape all not filename symbols ("*?:/\").

Functions [hide private]
 
_log_wl(fun) source code
 
fail(fn='', errstr='Error.')
Fail reporting.
source code
 
usage()
Output help info.
source code
 
do()
Pars peps.
source code
 
_debug() source code
Variables [hide private]
  _log = _xlog.getLogger('XPyTools.scripts.pep_parser')

Imports: XPyLIB, re, sys, glob, getopt, os, string, XPyLIB.xlogging, functools.wraps, _log_u, _log_d, _log_r, _log_w