Home >Backend Development >Python Tutorial >Can python develop web pages?

Can python develop web pages?

藏色散人
藏色散人Original
2019-07-06 09:23:1714740browse

Can python develop web pages?

Can python develop web pages?

Python can develop web pages. Python-based web frameworks such as Django and Flask have become very popular in web development recently. These web frameworks help you write server-side code (back-end code) in Python. This is the code that runs on your server, not the code that runs on the user's device and browser (front-end code).

Django is an open source web application framework written in Python. The framework pattern of MTV is adopted, namely model M, view V and template T. It was originally developed to manage some of the news content-based websites of Lawrence Publishing Group, that is, CMS (Content Management System) software.

Flask is a lightweight web application framework written in Python. Its WSGI toolbox uses Werkzeug and its template engine uses Jinja2. Flask is licensed under BSD.

Flask is also called a "microframework" because it uses a simple core and uses extensions to add other features. Flask does not have a default database or form validation tool.

Python mainly has the following three main applications:

● Web development

● Data science: including machine learning, data analysis and data visualization

● Script

Related recommendations: "Python Tutorial"

The above is the detailed content of Can python develop web pages?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn