In message
<mailman.64.1282843346.29448.python-l...@python.org>, Navkirat Singh wrote:

> I receive a jpeg file with the POST method.The file (.jpeg) is encoded in
> bytes, I parse the bytes by decoding them to a string. I wanted to know
> how i could write the file (now a string) as a jpeg image on disk.

I assume the JPEG data is received along with other field values in the 
POST. You’ll be saving those other fields in a database, right? So why not 
save the JPEG image there as well?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to