Home > Backend Development > Python Tutorial > What is python mainly used for development?

What is python mainly used for development?

(*-*)浩
Release: 2019-07-19 16:02:34
Original
4395 people have browsed it

If you want to learn Python, or you are just starting to learn Python, then you may ask: "What can I do with Python?"

What is python mainly used for development?

This is a bad question Answer, because Python has many uses. (Recommended learning: Python video tutorial)

But over time, I found that Python has the following three main applications:

Web Development

Data Science: including machine learning, data analysis and data visualization

Scripting

Web Development

Python-based web frameworks such as Django and Flask have become very popular in web development recently.

These web frameworks can 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).

Main difference

Flask: Able to achieve simple, flexible and detailed control. And allows you to decide how to implement it yourself.

Django: Provides a comprehensive experience: you get an admin panel, a database interface, an ORM (Object Relational Mapping), and a directory structure for applications and projects out of the box.

Data Science

Data science, including machine learning, data analysis and data visualization.

Machine learning works by implementing algorithms that automatically detect patterns in input.

Use SQL to extract data from the database. I then use Python and Matplotlib (at Google) or JavaScript and D3.js (at Microsoft) to visualize and analyze this data.

What is a script?

Scripting generally refers to writing small programs that can automate simple tasks.

Python is suitable for this type of task because it has a simple syntax, is easy to write, and is fast to test.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of What is python mainly used for development?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template