Which version of python is better to download? Which version of python is better?

This article will tell you which version of python is better to download, and which version of python is better. I hope it will be helpful to you, don’t forget to bookmark this site.

Hello everyone, the editor is here to answer the following questions for you, which version of python is the most useful and stable, and which version of python is the best to use? Let’s take a look today!

In fact, many people want to know which version of python software is better to use. If you want to do your job well, you must first sharpen your tools. This is understandable. Let’s compare it in detail. Which version of python 3.7 and 3.8 is better? PHP and PYTHON: Based on Detailed comparison of syntax, features, applications and more .

1. Why can’t I use python after it is successfully installed?

Here’s why:

1. Add Python 3.6 to PATH```*`` was not checked during installation.

2. The downloaded Windows Update update should be installed in the system corresponding to the computer system. Which one is easier to use, python or java .

Python is a cross-platform computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). As the version is constantly updated and new language features are added, it is increasingly used for the development of independent, large-scale projects.

Extended information:

Download Python:

1. Your computer will require Python, but you may not need to download it. First check (enter python in the command line window in the same directory) whether Python is installed. If you see a response from a Python interpreter, you can get a version number in its display window.

2. Installation is required, download the latest stable version. That's the highest version released without being labeled as alpha or beta. The most stable version currently is Python3.0 or above.

3. The operating system used is Windows: the most stable Windows version currently available for download is "Python 3.8.0 for Windows"

4. If you are using a Mac, MacOS 10.2 (Jaguar), 10.3 (Panther) and 10.4 (Tiger) have integrated and installed Python, and you need to install the latest common architecture (build).

Reference sources:

2. Which version of Python3 is best to use?

Scenario 1: Learning and practicing

If you are purely learning, try to choose a newer version, such as 3.7, 3.8, so that you can use the latest features. The latest version is Python 3.9. If you are a beginner, you can install anaconda, which comes with 500+ commonly used libraries, which saves trouble and convenience.

Scenario 2: Production environment

In a production environment, try to choose a stable version and a version with long-term support. If there is historical baggage, such as the historical code using version 2.7, then continue to use the Python 2.7 version.

It should be added that Python 2.x has stopped being updated, and Python 3.x is incompatible with Python 2.x.

Python was designed in the early 1990s by Guido van Rossum of the Netherlands Institute for Mathematics and Computer Science as a replacement for a language called ABC.

Python provides efficient high-level data structures and enables simple and effective object-oriented programming. Python's syntax and dynamic typing, as well as the nature of an interpreted language, make it a programming language for scripting and rapid application development on most platforms. With the continuous update of the version and the addition of new language features, it is gradually used for independent, large-scale Project development.

The Python interpreter is easily extensible with new functionality and data types using C or C++ (or other languages ​​callable from C). Python can also be used as an extension programming language in customizable software. Python's rich standard library provides source code or machine code suitable for each major system platform.

In October 2021, Tiobe, the compiler of the Language Popularity Index, crowned Python as the most popular programming language, placing it above Java, C, and JavaScript for the first time in 20 years.

3. What language should I learn for programming?

I personally recommend python, it depends on what you like.
Python is a cross-platform computer programming language. It is a high-level scripting language that combines interpretation, compilation, interactivity and object-oriented. It was originally designed for writing automated scripts (shells). As the version is constantly updated and new language features are added, it is increasingly used for the development of independent, large-scale projects.

4. How to wrap lines in python? ?

First run the terminal or cmd command line (under windows). Execute the python3.5 command. Then enter the content as shown in the picture below. This line wrapping method can also be performed in the editor. Here we take vim as an example. Enter code similar to the picture above and save it as a t.py script file.

"Python is a cross-platform computer programming language. It is an object-oriented dynamically typed language. It was originally designed for writing automated scripts (shell). With the continuous updates of the version and the addition of new language features, it has become more and more popular. It has been used more and more for the development of independent, large-scale projects, and has gradually become more and more widely used for processing system management tasks and Web programming."

Before you start, your computer requires Python, but you probably don't need to download it. First check (enter python in the command line window in the same directory) whether Python is installed. If you see a response from a Python interpreter, you can get a version number in its display window. The usual versions can be forward compatible with Python.

If you need to install, you may wish to download the latest stable version. That's the highest version released without being labeled as alpha or beta. The most stable version currently is Python3.0 or above. If the operating system you are using is Windows: The most stable Windows version currently available for download is "Python 3.8.3 for Windows". If you are using a Mac, MacOS (Jaguar), 10.3 (Panther) and 10.4 (Tiger) already have Python installed integratedly, but you will probably need to install a recent common build.

5. After python is installed, run modify setup to display

Now enter CMD, and then enter the DOS command to enter setup. py file, and then enter pythonsetup. pyinstall is done.

If the operating system you are using is Windows: The most stable Windows version currently available for download is "Python3.8.3forWindows".

If you are using a Mac, MacOS 10.2 (Jaguar), 10.3 (Panther) and 10.4 (Tiger) already have Python integrated and installed, but you may need to install a recent common build.

For RedHat, install python2 and python2-devel packages.

For Debian, install python2.5 and python2.5-dev packages.

6. How to extract the content between double quotes in python

Matching quotation marks in regular expressions can be directly written as "; matching any content can be represented by .*, . represents any character, and * represents any length; further, parentheses can be used to extract the content between the quotation marks.

Server: Before performing CGI programming, make sure your Web server supports CGI and has configured a CGI handler.

All HTTP server execution CGI programs are saved in a pre-configured directory. This directory is called the CGI directory, and by convention, it is named /var/www/cgi-bin. CGI files have a .cgi extension, and python can also use a .py extension.

Extended information:

If you need to install it, you may wish to download the latest stable version. That's the highest version released without being labeled as alpha or beta. The most stable version currently is Python3.0 or above:

If the operating system you are using is Windows: The most stable Windows version currently available for download is "Python 3.8.1 for Windows"

If you are using a Mac, MacOS 10.2 (Jaguar), 10.3 (Panther) and 10.4 (Tiger) already have Python integrated and installed, but you may need to install a recent common architecture (build).

For Red Hat, install the python2 and python2-devel packages, and for Debian, install the python2.5 and python2.5-dev packages.

Reference source: YQWHZ information

Guess you like

Origin blog.csdn.net/mynote/article/details/133003056