Documentation? file/open with tea
daniel at dittmar.net
Sun Sep 19 21:57:28 CEST 2004
exarkun at divmod.com wrote:
> On Sun, 19 Sep 2004 11:40:37 -0800, "Eric Pederson" <whereU at now.com> wrote:
> 't' is the opposite of 'b'. It's short for "text". It is also the default, so the above could be rewritten as open(somefile, 'a') or open(otherfile, 'r') with no change in meaning.
And I think using 't' is a mainly a Windows thing and not portable.
More information about the Python-list