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

Joel Goldstick joel.goldstick at
Thu Mar 7 18:41:48 CET 2013

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

> I have fixed this!
> Still ahve allok and you will see that in both of my images they appear in
> the firstpage of
> 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


Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list