code: def print_success(text, log_path):
      with open(log_path, "wb") as fid:
          fid.write(
              (
                  datetime.now().strftime("%H:%M:%S - %d %b %Y") + "\n"
              ).encode("utf-8")
          )
          fid.write((text + "\n").encode("utf-8"))
      print(text)
  
imports: import os
  import glob
  from datetime import datetime
  import subprocess
label_desc: Use image node_id 2 for calling a global function with example usage: print_success(text, log_path) without return types