Wijaya Edward <[EMAIL PROTECTED]> writes: > if m: > print line, > else: > #print 'SPAM -- %s' % line
Simple answer: if m: print line, # else: # print 'SPAM' My preferred answer: if m: print line, and get the lines back again later from your version control system. -- \ "I am an optimist. It does not seem too much use being anything | `\ else." -- Winston Churchill | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list