>> I was discussing appending the mode ("t" or "b") to the open() call > In addition, 't' probably isn't even supported on many Unix systems! 't' is not ANSI C, so there's no guarantee that it's portable. Hate to say it, but Python should really strip t out before passing a mode string to fopen!