您好我正在尝试让我的 Google App Engine 应用程序在本地主机上运行,但是当我尝试运行它时遇到了问题。
这是我试图运行的代码:
# helloworld.py    
import webapp2
class MainHandler(webapp2.RequestHandler):
    def get(self):
        #"Test" text is not displayed
        self.response.write("Test")
app = webapp2.WSGIApplication([('/', MainHandler)],
debug=True)
#This line prints the content
print "This works fine"
当我在本地主机上运行开发服务器时,我得到 Code 200 作为响应,但处理程序似乎没有正确执行。
任何想法?