Writing byte stream as jpeg format to disk

Navkirat Singh navkirats at gmail.com
Thu Aug 26 14:25:46 EDT 2010


On 26-Aug-2010, at 11:01 PM, John Bokma wrote:

> Navkirat Singh <navkirats at gmail.com> writes:
> 
>> Hey guys,
>> 
>> I am programming a webserver, 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.
> 
> Why?
> 
> -- 
> John Bokma                                                               j3b
> 
> Blog: http://johnbokma.com/    Facebook: http://www.facebook.com/j.j.j.bokma
>    Freelance Perl & Python Development: http://castleamber.com/
> -- 
> http://mail.python.org/mailman/listinfo/python-list

why? I am not quite sure what you have not understood.


More information about the Python-list mailing list