parameters: (data)
return_statement: return result
docstring: Replace unprintable characters with dots.
  
          @type  data: str
          @param data: Binary data.
  
          @rtype:  str
          @return: Printable text.
docstring_summary: Replace unprintable characters with dots.
docstring_tokens: Replace unprintable characters with dots .
function: def printable(data):
          """
          Replace unprintable characters with dots.
  
          @type  data: str
          @param data: Binary data.
  
          @rtype:  str
          @return: Printable text.
          """
          result = ''
          for c in data:
              if 32 < ord(c) < 128:
                  result += c
              else:
                  result += '.'
          return result
function_tokens: def printable ( data ) : result = '' for c in data : if 32 < ord ( c ) < 128 : result += c else : result += '.' return result