def __str__(self):
    asciiString = ''
    for height in xrange(0, self.image.size[1]):
      for width in xrange(0, self.image.size[0]):
        lum = 255 - self.image.getpixel((width, height))
        row = bisect(zonebounds, lum)
        try:
         possibles = greyscale[row]
        except __HOLE__:
         continue
        asciiString = asciiString + possibles[random.randint(0, len(possibles) - 1)]
      asciiString = asciiString + '\n'
    return asciiString
dataset/ETHPy150Open the-xkcd-community/the-red-spider-project/src/randomascii.py/AsciiGenerator.__str__