code: def show_report(self, report_path):
          
          if self.show_results_popup:
              url = QtCore.QUrl.fromLocalFile(report_path)
              # noinspection PyTypeChecker,PyCallByClass,PyArgumentList
              QtGui.QDesktopServices.openUrl(url)
          else:
              # report = open(report_path).read()
              # LOGGER.info(report)
              pass
docs: Show batch report file in batchReportFileName using an external app.
  
          This method uses QDesktop services to display the report (typically
          using gedit or similar text editor).
  
          :param report_path: Path to the file of batch report.
          :type report_path: str