Simple string formatting question

Aahz Maruch aahz at
Tue Mar 14 18:17:14 CET 2000

In article <Pine.LNX.4.21.0003141559170.24868-100000 at>,
Oleg Broytmann  <phd at> wrote:
>print '%5.3f %5.3f %5.3f 1i'%  \
>(temp_list[0],temp_list[1],temp_list[2],temp_list.index(min(temp_list)) + 1)
>   (backslash is escape character; escaping end-of-line means continue)

I have a strong distaste for the backslash line escape; whitespace at
the beginning of the line is visible, but whitespace at the end is not.
                      --- Aahz (Copyright 2000 by aahz at

Androgynous poly kinky vanilla queer het    <*>
Hugs and backrubs -- I break Rule 6

Three sins: BJ, B&J, B&J  --Aahz

More information about the Python-list mailing list