what is python script

青灯夜游
Release: 2020-10-13 10:56:17
Original
11940 people have browsed it

When learning python, I often hear people mention python scripts. So what exactly is a python script? The following article will take you through it, I hope it will be helpful to you.

what is python script

Python is a computer programming language, an object-oriented dynamically typed language, and a scripting language. Originally designed for writing automated scripts (shells), it is often used for maintenance and automated operations of various servers. It has rich and powerful libraries. It is often nicknamed the glue language, which can easily connect various modules made in other languages (especially C/C).

The python script is a program file written in python language, ending with ".py", and saved in plain text; the ".py" file contains an entire python program.

In Python, the original program code will be placed in the .py file; and Python will compile the program in .py form into an intermediate file (byte-compiled) when executing the .py file. .pyc file, the purpose of doing this is to speed up the execution of the file next time.

The above is the detailed content of what is python script. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!