Home>Article>Backend Development> What is a python script?

What is a python script?

little bottle
little bottle Original
2019-05-17 14:04:40 9739browse

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?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn