Hello,
How to open binary file for writing into datastore. I'm trying to loop over
listdir output of images directory, How to do this without using
self.request.POST.get.file.read(), or rather how to loop this task in app
engine
file(os.curdir+"somefile").read()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position
14: ordinal not in range(128)
but when I try to read binary with b, I get IOError.
raise IOError('invalid mode: %s' % mode)
IOError: invalid mode: b
-Alex Goretoy
http://www.alexgoretoy.com
--
http://mail.python.org/mailman/listinfo/python-list