What do python and jquery mean?

青灯夜游
Release: 2022-07-05 17:13:39
Original
4560 people have browsed it

Python is an object-oriented, interpreted, universal, open source scripting programming language; Python has many standard libraries and third libraries and is powerful. It can develop both small tools and enterprise-level application. jQuery is a fast and concise JavaScript framework; it encapsulates commonly used functional codes (functions) in JavaScript, provides a simple JavaScript design pattern, and optimizes HTML document operations, event processing, animation design, and Ajax interaction.

What do python and jquery mean?

The operating environment of this tutorial: windows7 system, jquery3.6.0&&Python3 version, Dell G3 computer.

What does python mean?

Python originally meant "python" in English until it was invented by the Dutchman Guido van Rossum (Guido for short) in 1989. An object-oriented interpreted programming language, and naming it Python gives it the meaning of a programming language.

Speaking of Python, its birth is very dramatic. According to Guido’s self-report, the Python language was developed by him to kill time during the Christmas period. The reason why he chose Python as the language The programming language was named because he was a big fan of a theater group called Monty Python.

The Python language was developed on the basis of the ABC teaching language; unfortunately, although the ABC language is very powerful, it has not been widely used. Guido believes that it is due to its lack of openness.

Based on this consideration, when Guido developed Python, he not only added many functions that ABC did not have, but also designed various rich and powerful libraries for it. Using these Python libraries, programmers can use Various modules made in other languages ​​​​(especially C language and C) are easily connected together, so Python is often called the "glue" language.

The libraries and modules here are simply understood as source files. Each file contains methods (also called functions) that can implement various functions.

Overall, the biggest feature of the Python language is simplicity, which is mainly reflected in the following two aspects:

  • The syntax of the Python language is very concise and clear, making it easy for even beginners who are not software majors to get started.

  • Compared with other programming languages, the implementation code of Python language is often the shortest to implement the same function.

Python is an object-oriented, interpreted, general-purpose, open source scripting programming language. I think there are three main reasons why it is very popular:

  • Python is easy to use, has low learning cost, and looks very elegant and clean;

  • Python has many standard libraries and third libraries. It is powerful and can develop not only small tools but also enterprise-level applications;

  • Python stands at the forefront of artificial intelligence and big data. Standing at the forefront, pigs can fly. stand up.

Advantages of Python

1) Simple syntax

Compatible with traditional C/C, Java, C# and other languages Compared with Python, Python's requirements for code format are not so strict. This looseness makes users more comfortable when writing code without spending too much energy on minutiae. Let me give two typical examples:

  • Python does not require a semicolon at the end of each statement, of course it is correct;

  • You do not need to specify the type when defining a variable, and you can even assign different types of data to the same variable.

These two points are also features of common scripting languages ​​such as PHP, JavaScript, and MATLAB.

Python is a programming language that represents minimalism. Reading a piece of beautifully formatted Python code is like reading an English paragraph, which is very close to human language. Therefore, people often say that Python is a kind of pseudo-programming language. Code idiosyncratic programming language.

2) Python is open source

Open source, that is, open source code, which means that all users can see the source code.

Python’s open source is reflected in two aspects:

① The code written by programmers using Python is open source.

For example, if we develop a BBS system and put it on the Internet for users to download, then what the users download is all the source code of the system, and they can modify it at will. This is also a characteristic of interpreted languages. If you want to run a program, you must have source code.

② The Python interpreter and modules are open source.

The official source of the Python interpreter and module code is to hope that all Python users will participate in improving Python's performance and making up for Python's loopholes. The more the code is studied, the more robust it will be.

There is always a small group of people in this world who either do not seek fame or wealth, or they will continue to strengthen and improve Python in order to achieve a certain purpose. Don't think that everyone is only interested in immediate interests. There are always some elites who will take the long term to catch big fish, and there are always some geeks who will do some cool things.

3) Python is free

Open source does not mean free. Open source software and free software are two concepts, but most open source software is also free software; Python is such a language, which is both open source and free.

If you want to distinguish the concepts of open source and free, please hit: Does open source mean free? Speak with facts

Users use Python to develop or publish their own programs without paying any fees or worrying about copyright issues. Even for commercial use, Python is free.

4) Python is a high-level language

The high-level mentioned here means that Python has a deeper encapsulation and shields many underlying details. For example, Python will automatically manage memory (automatically allocate when needed, no Automatically released when needed).

The advantage of high-level language is that it is easy to use, and you don’t have to worry about the details; the disadvantage is that it is easy for people to get a taste of it and not know why.

5) Python is an interpreted language and can be cross-platform

Interpreted languages ​​are generally cross-platform (good portability), and Python is no exception. We have already discussed it in "Compiled The difference between language and interpreted language was explained in "The Difference between Language and Interpreted Language" and will not be repeated here.

5) Python is an object-oriented programming language

Object-oriented is a feature that modern programming languages ​​generally have, otherwise it will be difficult to develop medium and large programs.

Python supports object orientation, but it does not enforce object orientation. Java is a typical object-oriented programming language, but it forces code to be organized in the form of classes and objects.

6) Python is powerful (many modules)

Python has many modules, which basically implement all common functions, from simple string processing to complex 3D graphics drawing. With the help of This can all be done easily with Python modules.

The Python community is developing well. In addition to the core modules officially provided by Python, many third-party organizations will also participate in developing modules, including software giants such as Google, Facebook, and Microsoft. Even for some niche functions, Python often has corresponding open source modules, and there may even be more than one module.

7) Python is highly scalable

Python’s scalability is reflected in its modules. Python has the richest and most powerful class libraries among scripting languages. These class libraries cover file I /O, GUI, network programming, database access, text operations and other most application scenarios.

The underlying codes of these libraries are not necessarily all Python, there are also many C/C versions. When you need a piece of critical code to run faster, you can implement it in C/C language and then call them in Python. Python can "glue" other languages ​​together, so it is called the "glue language".

What does jquery mean

jQuery is a fast and concise JavaScript framework, and it is another excellent JavaScript code library after Prototype ( Framework) was released in January 2006 by John Resig.

jquery refers to an encapsulated JavaScript function library, a lightweight "write less, do more" JavaScript library.

jQuery encapsulates commonly used functional codes in JavaScript, provides a simple JavaScript design pattern, and optimizes HTML document operations, event processing, animation design and Ajax interaction.

The purpose of jQuery design is "write Less, Do More", which means writing less code and doing more things.

The core features of jQuery can be summarized as follows: It has a unique chain syntax and a short and clear multi-functional interface; it has an efficient and flexible CSS selector, and can extend the CSS selector; it has convenient plug-in extensions Mechanism and rich plug-ins. jQuery is compatible with various mainstream browsers, such as IE 6.0, FF 1.5, Safari 2.0, Opera 9.0, etc.

jQuery language features:

1. Quickly obtain document elements

jQuery’s selection mechanism is built on the Css selector, which provides fast query The ability of elements in DOM documents, and greatly enhances the way to obtain page elements in JavaScript.

2. Provide beautiful page dynamic effects

jQuery has a series of built-in animation effects, which can develop very beautiful web pages. Many websites use jQuery’s built-in effects, such as fade-in Dynamic special effects such as fade out and element removal.

3. Create AJAX non-refresh web pages

AJAX is the abbreviation of asynchronous JavaScript and XML. It can develop very sensitive non-refresh web pages, especially when developing server-side web pages, such as PHP websites. , need to communicate with the server back and forth. If AJAX is not used, the web page has to be refreshed every time the data is updated. However, after using AJAX special effects, the page can be partially refreshed to provide dynamic effects.

4. Provide enhancements to the JavaScript language

jQuery provides enhancements to basic JavaScript structures, such as element iteration and array processing.

5. Enhanced event handling

jQuery provides various page events, which can prevent programmers from adding too much event handling code in HTML. Most importantly, its event handling The browser eliminates various browser compatibility issues.

6. Change the content of the web page

jQuery can modify the content of the web page, such as changing the text of the web page, inserting or flipping the web page image. jQuery simplifies the way that JavaScript code needs to be processed.

[Recommended learning: jQuery video tutorial, web front-end video]

The above is the detailed content of What do python and jquery mean?. 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
Popular Tutorials
More>
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!