Need advice on reading contents of a file into memory

vinjvinj vinjvinj at
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


More information about the Python-list mailing list