I have a file, which is an assembly source with comments. These comments contain 1Ah character. It is a control character, the "substitute", but it also prints a nice right arrow in DOS, so someone long time ago thought it would be a shame not to use it.
Somehow, it works like end of file character for Python. All I do is:
f = open('file.asm')
for line in f:
print line
f.close()
And everything goes ok just until the first entrance of 1Ah.
The question is, how to read this symbol along with other text?