Will python be included in textbooks in the future?
In addition to learning English, for some high school students and even primary school students, they are likely to have to learn another "foreign language" - Python in the future. Recently, Shandong Province has added Python content to its latest published sixth-grade primary school information technology textbook.
Recommended courses: Python Tutorial.
Simply put, Python is a widely used high-level programming language, a general-purpose programming language, created by the Dutchman Guido van Rossum. Its first edition was released in 1991. Due to its scalability, adaptability and ease of learning, Python has become one of the fastest growing programming languages in recent years. In the rankings of ranked.com, Python was the most popular artificial intelligence programming language in 2017, with C language ranking second.
In addition to Shandong adding Python to primary school textbooks, Python was also mentioned in this year’s information technology textbook reform project for new high schools in Zhejiang Province. Judging from the version circulating on the Internet, new textbooks will be used for high school freshmen starting in September 2017. The difference in the new textbooks is that the programming language will be changed to Python.
Textbook updates are on the one hand. On October 11, 2017, the Examination Center of the Ministry of Education issued a notice on "Adjustments to the National Computer Rank Examination (NCRE) System", deciding that starting from March 2018, in computer science The subject "Python Language Programming" is added to the second-level examination.
From this point of view, the world can no longer stop Python from penetrating into young children.
"Internet celebrities" in programming languages
In the world of programmers, there is a widely circulated saying called "Life is short, use Python quickly" . This sentence very vividly expresses the status of the Python language in the minds of programmers.
Compared with languages such as C or Java, Python allows developers to express ideas with less code. As an interpreted language, Python places more emphasis on code readability and concise syntax. Whether it is a small or large program, the language attempts to make the structure of the program clear and unambiguous.
According to Stack Overflow traffic statistics, in June 2017, Python became the most visited tag on Stack Overflow in high-income countries for the first time. If this continues, Python will definitely become the most popular tag in 2018. .
Another reason that makes Python the most popular language is its extensibility. The Python virtual machine itself can run on almost all operating systems. Python can be used for web programs, GUI development and operating systems, and scientific modeling. YouTube, Google, Yahoo!, and NASA all use Python extensively internally.
In addition, in the Python language, almost any idea can be quickly verified with 30-40 lines of code.
The popularity of Python is not only due to the advantages of its own programming language, but also because it has become the programming language of choice for many companies to develop artificial intelligence programs. For example, Python was used in the AlphaGo program that defeated Chinese chess player Ke Jie this year. In addition, after Facebook open sourced the artificial intelligence programming toolbox PyTorch, it established it as the preferred language in the artificial intelligence era. Many domestic artificial intelligence companies that do facial recognition and other programs also highly recommend Python as their preferred programming language.
Programming education that penetrates into early childhood education
So, is it really advisable to promote Python in early childhood education? After all, for ordinary people, this is a course that only needs to be learned in the computer professional field.
But in the view of former Baidu chief scientist Andrew Ng, everyone should learn to program. Especially with the development of artificial intelligence, communication between humans and machines has become more and more important, and programming capabilities will become the basis for human-machine communication in the foreseeable future. Therefore, everyone should learn to write programs just like learning to write.
In fact, in the United States, programming courses have gradually begun to penetrate into younger age groups, even to infants and young children. On the official website of Amazon in the United States, you can easily buy programming teaching materials for babies.
At the opening day event of Computer Science Education Week in the United States last year, then-President Obama personally went to the battle to demonstrate computer programming to primary and secondary school students. The White House believes that popularizing computer science education is one of the key measures for the United States to maintain its innovation advantage in the next few decades. You know, Microsoft founder Bill Gates started learning programming at the age of 13, and Facebook founder Zuckerberg started learning programming at the age of 11.
The above is the detailed content of Will python be included in textbooks in the future?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Use most text editors to open XML files; if you need a more intuitive tree display, you can use an XML editor, such as Oxygen XML Editor or XMLSpy; if you process XML data in a program, you need to use a programming language (such as Python) and XML libraries (such as xml.etree.ElementTree) to parse.

XML beautification is essentially improving its readability, including reasonable indentation, line breaks and tag organization. The principle is to traverse the XML tree, add indentation according to the level, and handle empty tags and tags containing text. Python's xml.etree.ElementTree library provides a convenient pretty_xml() function that can implement the above beautification process.

Modifying XML content requires programming, because it requires accurate finding of the target nodes to add, delete, modify and check. The programming language has corresponding libraries to process XML and provides APIs to perform safe, efficient and controllable operations like operating databases.

There is no simple and direct free XML to PDF tool on mobile. The required data visualization process involves complex data understanding and rendering, and most of the so-called "free" tools on the market have poor experience. It is recommended to use computer-side tools or use cloud services, or develop apps yourself to obtain more reliable conversion effects.

The speed of mobile XML to PDF depends on the following factors: the complexity of XML structure. Mobile hardware configuration conversion method (library, algorithm) code quality optimization methods (select efficient libraries, optimize algorithms, cache data, and utilize multi-threading). Overall, there is no absolute answer and it needs to be optimized according to the specific situation.

It is not easy to convert XML to PDF directly on your phone, but it can be achieved with the help of cloud services. It is recommended to use a lightweight mobile app to upload XML files and receive generated PDFs, and convert them with cloud APIs. Cloud APIs use serverless computing services, and choosing the right platform is crucial. Complexity, error handling, security, and optimization strategies need to be considered when handling XML parsing and PDF generation. The entire process requires the front-end app and the back-end API to work together, and it requires some understanding of a variety of technologies.

An application that converts XML directly to PDF cannot be found because they are two fundamentally different formats. XML is used to store data, while PDF is used to display documents. To complete the transformation, you can use programming languages and libraries such as Python and ReportLab to parse XML data and generate PDF documents.

XML formatting tools can type code according to rules to improve readability and understanding. When selecting a tool, pay attention to customization capabilities, handling of special circumstances, performance and ease of use. Commonly used tool types include online tools, IDE plug-ins, and command-line tools.
