Problem Displaying Pics

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Oct 7 15:47:16 EDT 2009


En Wed, 07 Oct 2009 12:00:13 -0300, Victor Subervi
<victorsubervi at gmail.com> escribió:

> print '''Content-Type: image/jpeg
>
> '''
> print
> print content

On Wed, Oct 7, 2009 at 9:51 AM, Gabriel Genellina <gagsl-
py2 at yahoo.com.ar>wrote:

> That's still wrong. The output should be:
>
> - a line containing Content-Type: image/jpeg
> - a blank line (no more!)
         ^^^^^^^^^^^^^^^^^^^^^^^^^
> - the actual image data

--
Gabriel Genellina



More information about the Python-list mailing list