MCPcopy Create free account
hub / github.com/Relento/lego_release / save

Method save

util/html.py:69–74  ·  view source on GitHub ↗

save the current content to the HMTL file

(self)

Source from the content-addressed store, hash-verified

67 p(txt)
68
69 def save(self):
70 """save the current content to the HMTL file"""
71 html_file = '%s/index.html' % self.web_dir
72 f = open(html_file, 'wt')
73 f.write(self.doc.render())
74 f.close()
75
76
77if __name__ == '__main__': # we show an example usage here.

Callers 14

eval.pyFile · 0.80
save_imageMethod · 0.80
save_bricks_pc_imageFunction · 0.80
save_bricks_imageFunction · 0.80
save_networksMethod · 0.80
save_networksMethod · 0.80
save_networksMethod · 0.80
occ_inds2fmapFunction · 0.80
save_modelFunction · 0.80
save_imageMethod · 0.80
html.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected