code: def is_printable(c):
      '''see if a character is printable'''
      global have_ascii
      if have_ascii:
          return ascii.isprint(c)
      if isinstance(c, int):
          ic = c
      else:
          ic = ord(c)
      return ic >= 32 and ic <= 12f is_printable(c):
      '''see if a character is printable'''
      global have_ascii
      if have_ascii:
          return ascii.isprint(c)
      if isinstance(c, int):
          ic = c
      else:
          ic = ord(c)
      return ic >= 32 and ic <= 126
docs: see if a character is printable