I am trying to run a macpython script on a linux box, but when I try and readline() from a saved text file, it gets confused about line endings ( the text files are generated on a mac ). Is there some easy way of convincing python to change what it expects as the end-of-line character, to deal with this sort of crodd-platform problem? Andrew Watson