code: def __init__(self, path, rectangles, delimiter, binary):
      self.path = path
      self.rectangles = rectangles
      self.delimiter = delimiter
      self.binary = binary
  
imports: import abc
  import json
  from ..typecheck import typecheck_method, sequenceof, nullable, enumeration
  from ..expr.types import tvoid, tstr
  from ..utils.misc import escape_str
label_desc: Use image node_id 1 to create a new BlockMatrixRectanglesWriter object from inherited base classes: BlockMatrixWriter with example: obj = BlockMatrixRectanglesWriter(path, rectangles, delimiter, binary)