Amer Neely <[EMAIL PROTECTED]> writes:

> A question I have, if someone here is familiar with Perl, does Python
> have something like Perl's 'here document'?

I'm not sure exactly what behaviour you want, but Python accepts
literal strings to be triple-quoted (i.e. delimited by """ pairs or
''' pairs), which allows you to freely use literal line feed and quote
characters inside that string.

    <URL:http://docs.python.org/ref/strings.html>

-- 
 \     "Are you pondering what I'm pondering?" "I think so, Brain, but |
  `\    pants with horizontal stripes make me look chubby."  -- _Pinky |
_o__)                                                   and The Brain_ |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to