I wrote a stream in a file in text mode.
# python code
f = open("somewhere in my computer","w")
f.write("Hello\nWorld")
f.write(chr(26)) # writing ascii character #26 to file
f.write("hhh")
f.close()
I cannot read bytes after ASCII character #26. I know i should open file with binary mode. Is ascii character #26 EOF character. As you know there is not such thing , e.i there is no EOF character. So what is problem? Is this an operating system dependent issue? (I try this in Microsoft windows).