What is the difference between a python script and a web page

Python is a computer programming language, an object-oriented dynamically typed language, and a scripting language. It was originally designed to write automated scripts (shell), and is often used for the maintenance and automated operation of various servers. It has a rich and powerful library. It is often nicknamed the glue language, which can easily connect various modules made in other languages (especially C/C++) together.

The python script is a file written in python language and ending in .py; the .py file contains a whole section of python program

A webpage is the basic element of a website and a platform for carrying various website applications. In layman's terms, your website is made up of web pages. If you only have a domain name and a virtual host without making any web pages, your customers will still not be able to visit your website.

A web page is a plain text file containing HTML tags. It can be stored on a computer in a certain corner of the world. It is a "page" in the World Wide Web and is a hypertext markup language format (an application of standard general markup language, The file extension is .html or .htm). Web pages usually use image files to provide pictures. Web pages must be read through a web browser.

Knowledge point supplement:

Script vs program

You may want to understand the difference between scripts and general programs.

The main difference between scripts and general programs is whether they are compiled. Compared to programs, scripts are more casual. Once the script is written, it can be run in an environment with interpretation capabilities. (We will learn how to write and run Python scripts in this lesson.)

Not a scripting language (compiled language), such as C, Java language. We need to compile (Compile) and link (link) and other steps to generate executable files. Then run on the computer through the executable file.

What is a script

Python is a "scripting language". Script, the corresponding English is: script. When most people see the English word script, they may think of more: the script of a movie is composed of paragraphs of scripts. The script of the movie script determines what and how the people and things in the movie do. And the script in the computer determines: the operating system and various software tools in the computer, what to do, and how to do it.

Recommended Posts

What is the difference between a python script and a web page
What is the difference between python and pycharm
What is the difference between synchronous and asynchronous Python?
The difference between the syntax of java and python
The difference between python2.x and python3.x
The difference between CentOS 7 and CentOS 6
The difference between CentOS and Ubuntu
What is the use of Python
The difference and connection between Centos and Redhat
What is the scope of python variables
What is the id function of python
What is the prospect of python development
What is a sequence table in Python
What is the function body of python
What is the function of adb in python
What is the advantage of python over corporate language
The difference between CentOS and Ubuntu in Linux system
What is introspection in python
What is object-oriented in python
What is Python variable scope
First understanding of the difference between centos7 and centos6 (kernel, commands, etc.)
What is list comprehension in python
Python is a cross-platform language code
Python implements a universal web framework
​What are the numbers in Python?