Getting python to work, Internal Server Error

后端 未结 12 1807
無奈伤痛
無奈伤痛 2021-02-08 11:07

I\'m trying to get Python scripts, called from a web browser, to work. I keep getting the error:

500 Internal Server Error

When I check my err

12条回答
  •  轮回少年
    2021-02-08 11:52

    do you have something like this at the top before you print anything else?

    print "Content-type: text/html\n"
    

    If you already have this, then post your code.

提交回复
热议问题