The founder of Python is the Dutchman Guido van Rossum. During the Christmas period of 1989, in Amsterdam, Guido decided to develop a new script interpreter as an inheritance of the ABC language in order to kill the boredom of Christmas. Python is a computer programming language. And what is a Python script?
#Python is an object-oriented dynamic type language and a scripting language that is commonly used for the maintenance and automated operation of various servers. It has rich and powerful libraries. It is often called a glue language because it can easily connect various modules made in other languages.
The file ending with .py is a Python script, which is a file written in Python language. The .py file contains an entire python program.
In Python, the original program code will be placed in the .py file. When Python executes the .py file, it will compile the .py format program into a .pyc file as an intermediate file. The purpose of this is to speed up the execution of the file next time.
The above is the detailed content of What is a python script?. For more information, please follow other related articles on the PHP Chinese website!