docs: def trace():
      """
          trace finds the line, the filename
          and error message and returns it
          to the user
      """
      import traceback, inspect, sys
      tb = sys.exc_info()[2]
      tbinfo = traceback.format_tb(tb)[0]
      filename = inspect.getfile(inspect.currentframe())
      # script name + line number
      line = tbinfo.split(", ")[1]
      # Get Python syntax error
      #
      synerror = traceback.format_exc().splitlines()[-1]
      return line, filename, synerror