Python on IIS: how?

后端 未结 3 1540
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 15:25

I\'ve got a background in PHP, dotNet and am charmed by Python. I want to transpose functionality from PHP to Python step by step, running bits and pieces side-by-side. Duri

3条回答
  •  日久生厌
    2020-11-29 16:16

    When you are developing a web application with Python, you don't use IIS/Apache/etc. Those web servers are only for deployment. Frameworks like Pyramid/Pylons/Django all come with built-in web servers. Pyramid, in particular, has excellent documentation which should help you to get started: http://docs.pylonsproject.org/docs/pyramid.html

    When you get to the point of deployment, Linux + Apache would be a much saner choice than Windows + IIS. If you absolutely must use Windows + IIS, don't use isapi-wsgi, as it has phantom performance problem: http://groups.google.com/group/isapi_wsgi-dev/browse_thread/thread/9fade6efca6c5b89

    PyISAPIe has worked well enough for me, but I had to compile my own PyISAPIe.dll for Python 2.7.

提交回复
热议问题