在 IIS 6.0 中使用 python 提供网页服务的最佳方法是什么
我有一个 IIS 6.0 Web 服务器,目前用它来提供一些普通的 ASP 页面,但我发现 ASP 有一定的限制。我经常使用 python 来完成自动化任务以及其他各种事情,并且希望开始将它与 IIS 一起使用来提供网页服务。
我的问题是:做到这一点的最佳方法是什么?我将最佳定义为最简单、最快且文档最齐全。我想避免 CGI/FastCGI,因为我被告知它们不太可取,因为每次请求页面时都必须启动 python 解释器。 (如果我错了,请纠正我)
我读过 ISAPI 和 WSGI,以及它们的各种风格和组合,并且对整个事情感到相当困惑。我想使用最新的技术,但我发现的每个教程都非常神秘。对此的良好教程将不胜感激。
I have an IIS 6.0 web server that I currently use to serve some vanilla ASP pages, and I'm finding ASP somewhat limited. I use python quite a bit for automation tasks, and various other things, and would like to begin using it with IIS to serve web pages.
My question is this: What is the best way to do this? I define best as easiest, fastest, and most well documented. I would like to avoid CGI/FastCGI, as I am told that they are less preferable due to having to start the python interpreter every time a page is requested. (Correct me if I am wrong)
I've read about ISAPI and WSGI, and various flavors and combinations thereof, and am fairly confused about the whole thing. I would like to use the latest technology, but every tutorial I have found on this is very cryptic. A good tutorial on this would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“在 IIS 中使用 Python 脚本”
"Using Python Scripts with IIS"