The Python programming language is a dynamic language. He can do a lot of things. Let's take a look at how the Python programming language compiles web pages. This is very attractive to many programmers. I hope you will have some gains.
Python web framework
If you want to use Python for website creation, there are currently many excellent website quick development frameworks for you to choose from. As far as I know and have used it, there are zope and plone. You can search for it.
In the website architecture, Zope and Plone have Windows installation files, which can be used after installation.
Quixote
Quixote/CherryPy can be used if the built-in web server is almost downloaded.
The simplest way to use Quixote is as follows:
1. Install Python;
2. Add the python directory to the path of your environment variable. If you do not add it, you can create a path each time;
3. Download and decompress Quixote. The document is in the doc directory;
4. After decompression, install Quixote in the Quixote Directory: python setup. py install.
5. Run python simple_server.py In the server Directory of Quixote to access http: // localhost: 8080.
A little more complicated.
Django is good. Add sqlite3 as the background, and then use gvim to write the program.
If it is difficult to set up APACHE + MYSQL under WIN, you can use WampServer to integrate apache/mysql/php, and then configure MOD_PYTHON and DJANGO for APACHE.
Karrigell is also good. If python is installed in the system, simply decompress it and run it. Self-built demos, including application wiki/Bussiness/task/html edit) and components (page template, RequestHandler parameter debugging, Cooki, etc.) are very convenient!
Add that python setup. py install is also required for the built-in buzhug database of Karrigell so that the demo in Karrgell can run.
You can also try pylons. Its debugging is very characteristic.
Webpy.org
You will like him
I am using django.
Build the environment: XP sp2 + python 2.4.3 + django 0.95. Build the environment: win2003 + python 2.4.3 + django 0.95. Python + Django + apache + mysql
These Web frameworks are simple and convenient.