Erik Max Francis wrote: > You can use the struct module for converting fundamental types to a > portable string representation for writing to binary files. But if it's a string, why not just use a text file? What does a binary file do that a text file doesn't, aside from not converting the end of line characters?