tobiah <[EMAIL PROTECTED]> writes: > assuming that the 'lines' have newlines at the end,
No need to assume; tell the string what you want.
' '.join(line1.rstrip('\n'), line2)
--
\ "Nothing is so common as to imitate one's enemies, and to use |
`\ their weapons." -- Voltaire, _Dictionnaire Philosophique_ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
