code: def loadmodule3(modpath, modname):
      import importlib.machinery
  
      try:
          loader = importlib.machinery.SourceFileLoader(
              modname, modpath
          )
          mod = loader.load_module()
      except Exception as e:
          return (None, e)
  
      return (mod, None)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import inspect
  import itertools
  import random
  import string
  import sys
  import backtrader
label_desc: Use image node_id 8 for calling a global function with example usage: loadmodule3(modpath, modname) and returns: mod,  None, None,  e