2183 views|1 replies

3

Posts

0

Resources
The OP
 

What is Python? Why is it so popular? [Copy link]

 




This content is originally created by Huaqing Yuanjian G, a netizen of EEWORLD forum . If you want to reprint or use it for commercial purposes, you need to obtain the author's consent and indicate the source

Some time ago, IEEE Spectrum released the latest fifth annual interactive ranking of programming languages! Python not only ranked first, but also topped the list in comprehensive index, user growth rate, employment advantage and open source language. So some netizens joked: "Life is short, why don't you use Python?"

So what is Python? Why is it so popular?

What is Python?

Python is an object-oriented, weakly typed interpreted language with the following features:

①Simple

Python is a language that represents the idea of simplicity. Reading a good Python program is like reading English, allowing you to focus on solving problems rather than figuring out the language itself.

② Easy to learn

Python is extremely easy to get started with because it has extremely simple documentation, and the Chinese documentation for Python was also released in March 2019, making the development environment more and more user-friendly.

③ Fast speed

Because Python advocates beauty, clarity, and simplicity, the amount of code used to achieve the same function is much less than other languages. Moreover, because the underlying layer is written in C language, many standard libraries and third-party libraries are also written in C language, so the running speed is very fast.

④ Free and open source

Python is one of the floss, and users can freely distribute copies of this software, read its source code, change it, and use parts of it in new free software.

What can Python do?

Crawlers obtain or process large amounts of information : batch downloading of American TV series, running investment strategies, crawling for suitable properties, scripting tasks for system administrators, etc.

②Automated operation and maintenance : Automatically handle a large number of operation and maintenance tasks

③Data Analyst : Rapid development and verification, analyzing data to get results

④Game developers : usually embedded in the game as a game script

⑤Automated testing : Write a simple implementation script and use it in Selenium/lr to achieve automation.

⑥Website development : Build your own website with the help of Django and Flask framework.

⑦Website backend programmer : Use it to build a single website, and the backend service is easier to maintain. Such as: Gmail, Youtube, Zhihu, Douban

Why is Python so popular?

During the years when Ruby on Rails was at its most popular, someone asked Python creator Guido van Rossum what he thought. He said, "Python does not need a killer application, because if that were the case, Python's role in other areas would be ignored." Python has performed well in many fields, including web crawlers, data analysis, AI, machine learning, web development, finance, operations, testing, etc. No language has ever been able to take root in so many fields at the same time.

Python is a programming language that is both simple and powerful. It focuses on how to solve problems, a free and open community environment, and a wealth of third-party libraries. There is no need to waste time reinventing the wheel. Various web frameworks, crawler frameworks, data analysis frameworks, and machine learning frameworks are all available and can be used right out of the box. If you don’t know where to find a third-party library, you can take a look at awesome-python.

The development of Python is completely driven by the community itself. Why is it so popular? The reason is simple, because it really brings a pleasant programming experience to developers!

This post is from TI Technology Forum

Latest reply

Python's anti-human design is really not suitable for embedded development! Not only does it require a lot of resources, but it also requires the system to have a lot of underlying support for C language, etc. This kind of thing is just a toy for amateurs.   Details Published on 2020-2-29 14:11
 

2865

Posts

4

Resources
2
 

Python's anti-human design is really not suitable for embedded development! Not only does it require a lot of resources, but it also requires the system to have a lot of underlying support for C language, etc. This kind of thing is just a toy for amateurs.

This post is from TI Technology Forum
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list