An error when i switched from python v2.6.6 => v3.2.3

Joel Goldstick joel.goldstick at gmail.com
Thu Mar 7 12:41:48 EST 2013


On Thu, Mar 7, 2013 at 11:22 AM, Νίκος Γκρ33κ <nikos.gr33k at gmail.com> wrote:

> I have fixed this!
> Still ahve allok and you will see that in both of my images they appear in
> the firstpage of superhost.gr
>
> the output of .py files appear fine except of that ehen a visitor click on
> my first 2 image links he also sees as first line this:
>
> print ( "Content-type: text/html; charset=utf-8\n" )
>
> this is because the above code is a header and its contained to every cgi
> .py file that i generate html ouput from via os.system()
>
> Can this be somehow eliminated?
> --
>

That page is not valid html.  View the source in your browser to see -- it
has no <html> tag, no <head>, no <body>.  fix that stuff

> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130307/6bcedd49/attachment.html>


More information about the Python-list mailing list