User`s guide

mlreportgen.dom.OPCPart class
12-221
Examples
Add a File to an OPC Package
This code inserts a copy of the data.json file in the data subfolder of the mydoc
package. This example assumes that there is a data.json file in the current folder.
import reportgen.dom.*;
d = Document('mydoc','html');
package(d,OPCPart('/data/data.json','data.json'));
close(d);
See Also
mlreportgen.dom.Document.package
More About
“Report Packages”