def cstring(s, width=70):
 L = []
 for l in s.split('\n'):
  if (len(l) < width):
   L.append(('"%s\\n"' % l))
 return '\n'.join(L)

def cstring ( s , width = 70 ) : L = [ ] for l in s . split ( '\n' ) : if ( len ( l ) < width ) : L . append ( ( '"%s\\n"' % l ) ) return '\n' . join ( L )
return c string representation of a python string .