Joke Collection Website - Joke collection - What kind of programming language is python?
What kind of programming language is python?
Due to the continuous development of artificial intelligence in recent years, Python has also become popular because Python is the mainstream application programming language for deep learning technology. At the same time, it has many application scenarios and is called the "glue language". Youmeier will help you learn more about the development trends and language features of this magical programming language, Python, to help you understand Python more clearly.
The first public release of Python was released in 1991, so this year is regarded as the birth year of Python. Python source code follows the GPL agreement (General Public License), which is an open source agreement, which means you can use and distribute it for free without worrying about copyright issues.
Python is a cross-platform computer programming language. It is a high-level scripting language that combines interpretability, compilation, interactivity and object-oriented. Originally designed for writing automated scripts (shells), as the version is constantly updated and new language features are added, Python is increasingly used for the development of independent, large-scale projects.
The development trend of Python
The above picture is the Tiobe Programming Community Index (which is an indicator of the popularity of programming languages) in September 2020, and the global programming language popularity rankings. If you feel that the ranking in the above picture is not intuitive enough, you can look at the histogram below↓
From this we can see that Python has surpassed C and C#, ranking strongly in third place, and is the well-deserved leader of interpreted languages.
An interpreted language means that the code is translated when the program is run. There is a dedicated interpreter for translation, and each statement is translated when it is executed. The disadvantage of interpreted languages ??is that the running speed is relatively low and they rely on the interpreter. The advantage is that they are cross-platform.
Today, the hardware performance of computers has been improved by orders of magnitude. Computing power is no longer the most important factor limiting programming languages. Agile development has become an important factor in language selection in production environments. Python It satisfies this very well and develops rapidly.
Features of the Python language
1. Easy to learn, clear and elegant, fast development speed
Easy to learn: Compared with C and Java, the learning cost of Python is as much as The difficulty curve is much lower and is more suitable for beginners to get started. It is a bottom-up technical climbing route. Set a small goal to climb a small mountain first, and then move on to higher mountains. Unlike C and JAVA light language learning itself, for many beginners, it is as unattainable as Mount Everest.
Clear and elegant: Python's syntax is very concise, the amount of code is small, and it is very easy to write. It is also very easy to test, refactor, and maintain the code. A small script may require 1,000 lines of code in C and hundreds of lines in JAVA, but it often only takes dozens of lines to implement in Python!
Fast development speed: What is the lifeline of current Internet companies? Product development speed! If your development speed is not fast enough, other people's products will have been launched before your product is launched, and you will have no room to survive. There are countless real examples here. So, no one dares to claim the first place in Python’s development speed! (Debate is not welcome^_^)
2. Cross-platform, portable, extensible, interpreted, object-oriented dynamic language
Cross-platform: Python fully supports Windows and Linux and MAC os and other mainstream operating systems.
Cross-platform means: using different operating systems to develop and run programs without modifying the code.
Portable: Code can usually be ported to other platforms without much modification.
Extensible: The Python language itself is written in C language. You can embed C in Python to improve the running speed and efficiency of the code.
You can also rewrite any module of Python in C language, fundamentally rewriting Python.
Interpreted: The Python language is analyzed line by line by the interpreter during execution, runs line by line and outputs the results.
Object-oriented: The Python language has all object-oriented features and functions and supports class-based program development.
Dynamic language: its structure can be changed at runtime. For example, new functions, objects, and even codes can be introduced, existing functions can be deleted or other structural changes can be made. Dynamic languages ??are very dynamic.
3. "Built-in battery", a large number of standard libraries and third-party libraries
Python provides us with a very complete basic library, covering system, network, files, GUI, Databases, text processing and other aspects, these are installed by default along with the interpreter, and are common to all platforms. You can complete most work without installing third-party support. This feature is vividly called "built-in batteries (batteries included)" .
4. The community is active, has many contributors, and helps each other
The existence of the technical community is equivalent to a compass in the hands of programmers. Without a compass, many times, when encountering problems, Like a headless fly, it can only fly everywhere, and eventually faints and dies in the vast ocean. The technical community can provide us with great help in learning and using language. Whether it is early learning or future work, as long as we have problems, the experts in the technical community can help us solve them. With these help, we can help us better Understand, learn and use a language well. The technical community also promotes the development direction and functional requirements of the Python language, prompting companies to use the Python language more and recruit Python programmers.
5. Open source language has huge development momentum
Python is written based on C language and uses the GPL open source license. You can obtain its source code for free for learning, research and even improve. When everyone adds fuel to the fire, more people participate in the development of Python, which promotes its better development and more applications, forming a virtuous cycle. The reason why Python is becoming more and more popular is because of its openness and freedom, which has gathered popularity and formed a community. Many people contribute to it, and more and more people use it, which naturally increases its market share. Enterprises, companies, and manufacturers have to use Python, and more and more Python programmer positions are provided. This is the power of open source.
- Previous article:Is it awkward to meet a male doctor in obstetrics?
- Next article:Courage topic composition
- Related articles
- Fan Bingbing, 39, was suspected of being left out at the dinner party. Why was she praised by netizens for her high emotional intelligence when interviewed?
- Three paragraphs (second rhyme, Su Cui sends poems to Yunzhuang) Original | Translation | Appreciation _ Introduction of the original author
- What is the sea in Rizhao, and which country is opposite it?
- I don't want websites and websites, and I don't want to give more rewards to what I see, preferably 100.
- Deduct 1. Buddha forgives you for being a terrier.
- Why do women with strong parents suffer less injustice in marriage?
- Are So Zhi and Yang Zhenning born in modern or contemporary eras respectively?
- Shuanghui joke
- My husband is having an affair. What should I do? Now we have a four-year-old son. I send messages to scold San Xiao every day, but she doesn't reply to any of them.
- Forget anything and don't forget the joke.