[Tutor] outputting long lines
Paul Tremblay
phthenry@earthlink.net
Sat Mar 8 01:22:01 2003
Is there a tecnique for printing out long lines that span more than the
length of your script?
For example, I am trying to output this line:
1 if self.__token_info == 'cw<nt<type______':
2 self.__write_to_foot_obj.write('\
3 mi<dv<op<footnote<at<num>%s' % self.__footnote_count)
My output is:
mi<dv<op<footnote<at<num>2
I don't want this huge space at the beginning. I want:
mi<dv<op<footnote<at<num>2
There are ugly ways to achieve what I want. I could output the text with
several write lines. I could get rid of the space in line 3 above. But I
was thinking there is probably an easeir and more elegant solution.
Thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@earthlink.net*
************************