Try opening the file in binary mode. In text mode, all the cr/lf's get automatically translated to '\n'.
Roger _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32