Re: Database binary compatibility?

Brian Kelley <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
I'll bet you a beer that I know what you are doing wrong here (because
I've done the same thing :) )

If you load or save on windows, you MUST supply the binary flag.

read
file = open("foo", "b")

write
file = open('foo", "wb")

Another reason why windows stinks (IMHO).  If you want portable
metakit, whenever you use save or load just add the stupid binary
flag.

Brian
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.