The magical application of Python programming language in Web development

Source: Internet
Author: User
Tags plone
The Python programming language is a dynamic language. He can do a lot of things, and let's look at how the Python programming language is written on the web. This is a great attraction for many programmers. I hope you have something to gain.

Python's web framework

If you want to use Python as a Web site, there are a number of excellent website quick development frameworks available for you to choose from. As far as I know and used, there are Zope and Plone. You can search for a bit.

In the Web site, Zope and Plone have Windows installation files that can be used all the way.

Quixote

Quixote/cherrypy If you use your own Web server, it's almost ready for download.

The simplest way to use Quixote:

1, the installation of good Python;

2, add the Python directory to your environment variable path inside, do not add can also, is every time you hit the path;

3, download, unzip Quixote, documents in the DOC directory;

4, after decompression, install Quixote, in the Quixote directory: Python setup.py install.

5. Run Python simple_server.py in Quixote's server directory and visit http://localhost:8080/.


A little bit more complicated.

Django is good, add a sqlite3 to do backstage, and then write the program with Gvim

In the win under the Apache+mysql trouble, you can use Wampserver, integrated apache/mysql/php, and then to Apache with Mod_python and Django


Karrigell is also good, if the system has been installed Python, directly decompression run. Bring your own demo, including application (wiki/bussiness/task/html edit) and Components (page template, requesthandler parameter debugging, Cooki, etc.), very convenient!

Add, Karrigell built Buzhug database also want Python setup.py install a bit, so karrgell inside of demo can run

You can also try pylons. It's debugging, very characteristic.

webpy.org

You're going to love him.

I was using Django.

Build the Environment: XP SP2 + python 2.4.3 + Django 0.95. Build your environment: win2003+ python 2.4.3 + Django 0.95. Python+django+apache+mysql

Feel that these web frameworks are very simple and convenient.

The above is the Python programming language in the website development of the magical content, more related articles please pay attention to topic.alibabacloud.com (www.php.cn)!

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.