code: def __write(self) -> None:
      cleaned = re.sub("\n{2}\n+", "\n", self.content)
      self.path.write_text(cleaned.rstrip() + "\n")
  
imports: import argparse
  from functools import cached_property
  import os
  from pathlib import Path
  import platform
  import re
  import sys
label_desc: Use image node_id 8 for calling the Hosts obj's underlying member method code with example usage: obj.__write() without return types