.cgi problem with web server

后端 未结 4 1540
粉色の甜心
粉色の甜心 2021-01-27 03:07

The code

#!/usr/bin/env python

import MySQLdb

print \"Content-Type: text/html\"
print 
print \"Books         


        
4条回答
  •  孤街浪徒
    2021-01-27 03:36

    The error in http://dpaste.com/8866/ is occurring because you are using "curly quotes" instead of standard ASCII quotation marks.

    You'll want to replace the “ and ” with ". Just use find and replace in your text editor.

提交回复
热议问题