Liam Clarke wrote:
Worse come to worse, you could always do - x = file(myFile, 'r').read()
listX = x.split('\r')

This will leave the \n in the strings. Reading with universal newlines is a better solution.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to