code: def to_module(path_name):
      ret = path_name.replace(".py", "").replace("/", ".")
      if ret.endswith("."):
          return ret[:-1]
      return ret
  
imports: from glob import glob
  import importlib
  import os
  import configargparse
label_desc: Use image node_id 1 for calling a global function with example usage: to_module(path_name) and returns: ret, ret