Vacation nothing to learn python, because has been on the personal site, backstage with PHP, so want to rewrite the background with Python. About Python Development Web application, there is a lot of tutorials on the web, most of the recommended Apache loading Mod_python This module, looked at the Xia Guan Network, 13 stopped updating, and the support of Python 3 is poor, so it is not recommended this. Similar to Mod_msgi, this can be seen as a successor to Mod_python, but it is cumbersome to configure, especially on Windows, that beginners may be more painful to do. It is recommended to use the Django framework to develop a message about a service organ network:
You've started the Django development Server, a lightweight Web server writtenpurely in Python. We ' ve included this with Django so can develop thingsrapidly, without have to deal with configuring a production Ser Ver–such Asapache–until You "re ready for production.
That is, Django comes with a server written in pure Python, which is very handy for testing and small-scale development, enough to meet your needs. About the tutorial, strongly recommend to go to the official website to read the original English (note that the tutorial version to be consistent with their own download of Django) and not to see the translated Chinese version, because the Django update very quickly, and from time to time there is a big change, look at the older version sometimes back to their own cause inexplicable trouble.
Django Official website: https://www.djangoproject.com/
Python Download: https://www.python.org/
After downloading, put the Python.exe directory under the path of the environment variable (Windows system), then the command line into the Django directory, execute [python setup.py install]. Once you've installed Django, follow the tutorials step-to-step on the Django website.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Django Development Python Web App