MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / save

Method save

scenedetect/_thirdparty/simpletable.py:301–305  ·  view source on GitHub ↗

Save HTML page to a file using the proper encoding

(self, filename)

Source from the content-addressed store, hash-verified

299 yield from self.tables
300
301 def save(self, filename):
302 """Save HTML page to a file using the proper encoding"""
303 with codecs.open(filename, "w", self.encoding) as outfile:
304 for line in str(self):
305 outfile.write(line)
306
307 def add_table(self, table):
308 """Add a SimpleTable to the page list of tables"""

Callers 5

write_scene_list_htmlFunction · 0.95
_save_baseline_jpegFunction · 0.80
render_installer_staticFunction · 0.80
render_all_sizesFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected