<[EMAIL PROTECTED]> wrote: > It means in windows we should use 'wb' to write and 'rb' to read ? > Am I right?
no. you should use "wb" to write *binary* files, and "rb" to read *binary* files. if you're working with *text* files (that is, files that contain lines of text separated by line separators), you should use "w" and "r" instead, and treat a single "\n" as the line separator. </F> -- http://mail.python.org/mailman/listinfo/python-list