After the HTML file has been processed, it will be displayed.
It may not look exactly like the original, because stylesheets, images, etc. that are available in the file's original location will not be available in the temporary location.
When the web page is displayed, use your web browser's View Source feature to open the source file. Then save (or cut-and-paste) the source file into a location where you can test it.
After you've tested it, if you're satisfied with it, you can save it (or cut-and-paste it) into the location of the original file.
Be sure to save your original HTML file in a backup location, so you can roll back to it if necessary!
If your file has never been run through pyhat before, pyhat will make a guess about where to put the table of contents.
If you don't like the place where it was put, you can edit the HTML file, cutting the text
<div class='table_of_contents'> ... </div>and pasting it to a more desirable location. On subsequent passes through pyhat, the table of contents will be regenerated in the same place.