以管理员身份开始使用微信的教程在 php http://admin.wechat.com/wiki/index.php?title=Getting_Started上实现。尝试在 python 中做类似的事情:
import webapp2
class weChatAuth(webapp2.RequestHandler):
def get(self):
message = self.request.GET['echostr']
self.response.write(message)
清楚地知道这可能不是正确的方法。但是我怎么能用python做类似的事情。顺便说一句,我在谷歌应用引擎上托管。