[Tutor] long lines in print

Arne Mueller a.mueller@icrf.icnet.uk
Fri, 16 Apr 1999 13:56:21 +0100


Hi All,

is there a chance to split a long python 'statements' 
line into several lines?

The following statement is far too long for one emacs 
line and I'd line to split it up so that the statement
becomes more readable. Is there a way to put the list 
of values (hsp.score, hsp.e, hsp.identity) in the next 
line? I mean, that'd collide with python indentation,
wouldn't it?

print 'HSP: score = %f, e = %f, identity = %d\%' % (hsp.score, hsp.e,
hsp.identity)

	thanks for help,

	Arne