Hi,
I'm sorry, but you have a conceptual error there. Text files differ
from binary files because they are not considered raw. When you say
that this or that file is a text file, python and/or the operating
system takes the liberty to insert and or remove semantics from the
file, according to so
>
> Solution: only use binary files, and do the newline-translation yourself
> if needed.
>
> Diez
The probelm is if I can't use only binary files...
How can I do the newline-translation myself ? if check the text and
found the diferrence between binary and text is the '\r' instead of
'\'n' . I ca
[EMAIL PROTECTED] schrieb:
> Hi,
>
> I'm trying to open a file (any file) in binary mode and save it inside
> a new text file.
> After that I want to read the source from the text file and save it
> back to the disk with its original form. The problem is tha the binary
> source that I extract from
Hi,
I'm trying to open a file (any file) in binary mode and save it inside
a new text file.
After that I want to read the source from the text file and save it
back to the disk with its original form. The problem is tha the binary
source that I extract from the text file seems to be diferent from