我编写了以下Python代码,但我看不出问题的原因是什么,但我收到以下错误消息:
def 帖子(自己): ^ IndentationError:取消缩进与任何外部缩进级别不匹配
class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.out.write(form)
def post(self):
self.response.out.write("valid")
app = webapp2.WSGIApplication([('/', MainHandler)],debug=True)
任何帮助将不胜感激