[Python-3000] encoding hell
aahz at pythoncraft.com
Sun Sep 3 22:45:28 CEST 2006
On Sun, Sep 03, 2006, Marcin 'Qrczak' Kowalczyk wrote:
> "tomer filiba" <tomerfiliba at gmail.com> writes:
>> file("foo", "w+") ?
> What is a rationale of this operation for a text file?
You want to be able to read the file and write data to it. That argues
in favor of seek(0) and seek(-1) being the only supported behaviors,
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
I support the RKAB
More information about the Python-3000