[Python-3000] encoding hell

Fredrik Lundh fredrik at pythonware.com
Sun Sep 3 11:19:06 CEST 2006


Greg Ewing wrote:

> The best you could do would be to return some kind
> of opaque object from tell() that could be passed
> back to seek().

that's how seek/tell works on text files in today's Python, of course. 
if you're writing portable code, you can only seek to the beginning or 
end of the file, or to a position returned to you by tell.

</F>



More information about the Python-3000 mailing list