big text strings

Michael Hudson mwh21 at cam.ac.uk
Wed Apr 25 08:24:01 EDT 2001


"Brandon J. Van Every" <vanevery at 3DProgrammer.com> writes:

> I want to have big text strings in my python scripts, whole paragraphs in
> length.  I do not want to have to insert \ characters at every line.  Is
> this possible?

Does """text
goes
here""" do what you want?

Cheers,
M.

-- 
  well, take it from an old hand: the only reason it would be easier
  to program in C is that you can't easily express complex  problems
  in C, so you don't.                   -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list