code: def indent(st, spaces):
      indentation = " " * spaces
      indented = indentation + st.replace("\n", "\n" + indentation)
      # trim off any trailing spaces
      indented = re.sub(r" +$", r"", indented)
      return indented
  
imports: import os
  import re
  import struct
  import sys
  import textwrap
  import argparse
  import string
label_desc: Use image node_id 6 for calling a global function with example usage: indent(st, spaces) and returns: indented