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

Method __init__

scenedetect/_thirdparty/simpletable.py:266–277  ·  view source on GitHub ↗

HTML page constructor. Keyword arguments: tables -- List of SimpleTable objects css -- Cascading Style Sheet specification that is appended before the table string encoding -- Characters encoding. Default: UTF-8

(self, tables=None, css=None, encoding="utf-8")

Source from the content-addressed store, hash-verified

264 """A class to create HTML pages containing CSS and tables."""
265
266 def __init__(self, tables=None, css=None, encoding="utf-8"):
267 """HTML page constructor.
268
269 Keyword arguments:
270 tables -- List of SimpleTable objects
271 css -- Cascading Style Sheet specification that is appended before the
272 table string
273 encoding -- Characters encoding. Default: UTF-8
274 """
275 self.tables = tables or []
276 self.css = css
277 self.encoding = encoding
278
279 def __str__(self):
280 """Return the HTML page as a string."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected