Class HTML#
Defined in File Html.py
Class Documentation#
- class HTML#
This contains helper functions for creating HTML files with yattag. Parameters ---------- outFile: str Output file
Public Functions
- __init__(self, Path outFile)#
This function initializes the header file, and saves useful variables to self. Parameters ---------- outFile : Path Output file
- GenerateHtml(self)#
This function generates and formats the HTML file text. Returns: -------- html : str HTML file as a string.
- WriteFile(self)#
This function writes the HTML file text to a file.
- ReadFile(self, Path inFile)#
This function reads the file specified by "inFile" and retuns the contents as a string. Parameters ---------- inFile : Path File to read. Returns ------- outStr : str Contents of inFile as a string.
Protected Attributes
- _outFile#