Why do people use Python?

The main reasons for choosing Python are as follows:

Software quality: For the most part, Python’s focus on readability, consistency, and software quality sets it apart from other tools in the scripting language world. In addition, Python supports advanced reuse mechanisms for software development. For example, object-oriented programming.

Improved Developer Productivity: Compared to compiled/statically typed languages such as C, C ++, and Java, Python is many times more productive for developers. The amount of Python code is usually only 1/5 to 1/3 of the amount of C++ or Java code, and the development speed can be imagined.

Program portability: Python is cross-platform

Standard library support: Python built-in many precompiled and portable functional modules, Python third-party support tools including website development, numerical calculation, serial port reading and writing, game development and other aspects. For example, Numpy, how Matlab is like a powerful library.

Component integration: Python scripts can easily communicate with other parts of the application through flexible integration mechanisms.

Of the above factors, the first two (quality and efficiency) are probably the two most attractive features of Python for most Python users.

Is Python a “scripting language”?

Python is a multipurpose programming language that often acts as a scripting language. In general, Python can be defined as an object-oriented scripting language: This definition blends object-oriented support with the role of a full-blown scripting language. In fact, Python code files are often described as “scripts” rather than “programs.”

What’s the downside of Python?

The only drawback we’ve found with Python is that, under current implementations, it’s not fast enough to execute compared to compiled languages like C and C++.

Who uses Python these days?

The YouTube video sharing service is mostly written in Python. Douban is also developed by Python. P2P file sharing system Bitjorrent is a Python program. EVE Online is a massively multiplayer Online game that makes extensive use of Python. May is a powerful integrated 3D modeling and animation system that provides a Python scripting API. IRobot used Python to develop a commercial robot vacuum cleaner. , etc.

There are many other things that Python can do, and Python has proven that it can do anything. Life is short. I use Python

What can you do with Python

Website development

Web crawler

Data analysis, data mining, big data

Automated test/operation and development of test/operation and maintenance

System programming

User graphical interface

Database programming

Scientific computing programming

Games, graphics, artificial intelligence, XML, robots, etc

How does Python compare with other languages?

Simpler and easier to use than Java. Python is a scripting language, and Java inherits a lot of language and complexity from system languages like C++. Simpler and easier to use than C++, but generally do not compete with C++. Because Python, as a scripting language, often plays many different roles. It’s easier to understand and more versatile than PHP. It is more mature than Ruby and has a more readable syntax. Unlike Ruby and Java, OOP is optional for Python.

The above is just personal opinion. What different ideas can be in the comments below!

This tutorial covers everything from basic Python scripting to web development, crawlers, data analysis, data visualization, machine learning, and so on. Want these information can pay attention to Xiaobian, see the following way to add:

If it is inconvenient to add, I would like to share a learning video link with you:Python Learning Links