Package: mlreportgen.utils
Superclasses:
Wrap HTML file for viewing
This utility wraps a .html
file into an object. You can then manipulate
the object using the methods of this utility.
wraps an HTML document file and returns it as an HTMLDoc object. The constructed HTML doc
object is not visible. To make it visible, use the docobj
= mlreportgen.utils.HTMLDoc(filename
)show
method.
show | Show HTML file
|
hide | Hide HTML file
|
isVisible | Test whether HTML file is visible
|
This example wraps the existing MyHTMLDoc.html
file into an HTMLDoc
object.
docobj = mlreportgen.utils.HTMLDoc("MyHTMLDoc.html");
show(docobj);