Need advice on reading contents of a file into memory

vinjvinj vinjvinj at gmail.com
Thu Mar 16 00:22:23 CET 2006


Thanks. read() did not work when I opened the file with:

f = open(someFilePath)

But after changing to f = open(someFilePath, "rb") the read() works
fine. 

VJ




More information about the Python-list mailing list