Need advice on reading contents of a file into memory

vinjvinj vinjvinj at gmail.com
Wed Mar 15 18:22:23 EST 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