开发者

Converting code from the Tornado python web framework to work independently

开发者 https://www.devze.com 2023-02-01 10:57 出处:网络
I need to use a library which depends on the Tornado Python Web Framework, but I cannot have it dependent on Tornado.

I need to use a library which depends on the Tornado Python Web Framework, but I cannot have it dependent on Tornado.

Does anyone have any advice when converting code over from this framework?

Has anything similar bee开发者_如何学JAVAn attempted before (and the result published)?


The normal way to create web-server-independent Python web apps is to code it to WSGI, optionally using a web framework. This way it can be used with any WSGI container.

0

精彩评论

暂无评论...
验证码 换一张
取 消