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

Joel Goldstick joel.goldstick at gmail.com
Thu Mar 7 13:50:35 EST 2013


On Thu, Mar 7, 2013 at 12:41 PM, Joel Goldstick <joel.goldstick at gmail.com>wrote:

>
>
>
> 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?
>>
>
This may have to do with the configuration of your server.  There may be
differences in how to do that for python 2.x and python 3.x.  I can't help
you more than that


> --
>>
>
> 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
>



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


More information about the Python-list mailing list