code: def copy_without_prompts(self):
          
          text = self.get_selected_text()
          lines = text.split(os.linesep)
          for index, line in enumerate(lines):
              if line.startswith('>>> ') or line.startswith('... '):
                  lines[index] = line[4:]
          text = os.linesep.join(lines)
          QApplication.clipboard().setText(text)
docs: Copy text to clipboard without prompts