I am reading data from a file. The data is mostly text, but has a small bit of binary in it, as well as a linefeed at the end of every block of text. Can Python read all of it and write it to another file, while not changing the binary or the linefeed?
I have tried looking around online, but couldn't find the answer. Daniweb is on of the best Forums out there, so I am asking it here.
Also, is there anyway in Python that you can test whether or not a line of data is binary?
Edited 7 Years Ago by P00dle: n/a