> I am working on a script to get parts of raw data out of a file, and
> the data I read has to be the data written in the file without CR or
> LF.

So you just want to remove all the linefeeds? This should work then:

data = data.replace('\n','')

-Farshid

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to