Can I write a Python web application for Windows and Linux platforms at the same time?

Can I write a web application that I can host on Windows (IIS web server) and Linux (Apache or lighttpd) without any changes?

CGI? Maybe something new? WSGI | FastCGI?

+3
source share
6 answers

Yes, you can. But you can also use apache for windows. If you go to IIS, there is only CGI, and it is quite difficult to configure. You can also use a python-based server like CherryPy, which is pretty good and will work on all platforms using python.

, django, CGI, WSGI, WSGI CGI.

, WSGI - - python.

+7

web.py ... .

, Apache Windows.

+2

, CGI, FastCGI , - ( IIS Apache ), .

, , Python . , , , ..

+2

- Python ZOPE.

Zope - , , . Zope , Zope. Zope Python, , -

ZOPE Linux Windows, Python - Zope ( ).

+2

web2Py XML-RPC Twisted...

0

- python - , , /.

- python , -. Apache, , , Apache.

-python: Plone, Zope, CherryPy TurboGears, .

apache python- mod_python, apache , .

0

Source: https://habr.com/ru/post/1705037/


All Articles