code: def write(self, file):
          r
          text, image = self.image
          image.save(file, format=self.format)
          return (text, file)
docs: r"""
          Save CAPTCHA image in given filepath.
  
          Property calls self.image and saves image contents in a file,
          returning CAPTCHA text and filepath as a tuple.
          See: image.
  
          :param file:
              Path to file, where CAPTCHA image will be saved.
          :returns: ``tuple`` (CAPTCHA text, filepath)