On Mon, 3 Oct 2005, Craig MacFarlane wrote:

> Is there a way to make line continuation work with
> the readlines function?
>
> i.e.
>
>   this is \
>     one line.

Hi Craig,

readline() doesn't look at the content of lines, so no, not out of the
box.  However, would it be satisfactory if you wrote a function to define
that behavior?


Good luck to you!

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to