def headerHTML(header,fname):
html="<STR_LIT>"<EOL>html+="<STR_LIT>"%(fname)<EOL>html+=pprint.pformat(header, indent=<NUM_LIT:1>)<EOL>html=html.replace("<STR_LIT:\n>",'<STR_LIT>').replace("<STR_LIT:U+0020>","<STR_LIT>")<EOL>html=html.replace(r"<STR_LIT:\x00>","<STR_LIT>")<EOL>html+="<STR_LIT>"<EOL>print("<STR_LIT>",fname)<EOL>f=open(fname,'<STR_LIT:w>')<EOL>f.write(html)<EOL>f.close()<EOL>webbrowser.open(fname)<EOL>
given the bytestring ABF header, make and launch HTML.