emergent/swarm/evolutionary systems etc

Josiah Carlson jcarlson at uci.edu
Fri Apr 2 15:44:44 EST 2004


> fh = open(file, "r+") ## Do you need "b" (binary) for a text file?

Of course not, but keeping that binary flag allows you to get all the 
information from a file when you are on windows.  Depending on the 
contents, this is not always the case.

Inserting the binary flag in *nix doesn't hurt anything.

  - Josiah



More information about the Python-list mailing list