code: def replace_all(template, **kwargs):
      for k, v in kwargs.items():
          template = template.replace("@@" + k + "@@", v)
      return template
  
imports: import re
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: replace_all(template) and returns: template