To split text into lines in Python, use the splitlines() method, not the split() method.| www.pythonmorsels.com