def convert_char(c):
 if (c in PRINTABLE_CHARACTERS):
  return c
 else:
  return ('\\x%02x' % ord(c))

def convert_char ( c ) : if ( c in PRINTABLE_CHARACTERS ) : return c else : return ( '\\x%02x' % ord ( c ) )
escapes characters .