web.py on Google App Engine

后端 未结 2 618
粉色の甜心
粉色の甜心 2021-02-06 03:20

I\'m trying to get a web.py application running on GAE. I hoped that sth like the following might work

import web
from google.appengine.ext.webapp.u         


        
2条回答
  •  迷失自我
    2021-02-06 03:36

    You don't need to import or use run_wsgi_app, web.py has a runcgi method that works perfectly!

    if __name__  == '__main__':
        app.cgirun()
    

提交回复
热议问题