Guyon Morée wrote: > what is the difference? > > if I open a text file in binary (rb) mode, it doesn't matter... the read() > output is the same. If you are on Linux that's the case... or under other conditions. Maybe describing your platform and showing an example of what you're trying to do would be helpful. -Peter