What software is needed to learn python

little bottle
Release: 2020-09-15 11:53:05
Original
21382 people have browsed it

Python is an object-oriented interpreted computer programming language. Python is purely free software. Python syntax is concise and clear, and one of its features is the forced use of whitespace characters as statement indentation. Python 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).

What software is needed to learn python

Python interpreter

Programming languages ​​will involve a compiler or interpreter, using compiled languages ​​such as C/C The program you write needs to be converted from the source file into the machine language used by the computer, and then linked by the linker to form a binary executable file. When you run this program, you can load the binary program from the hard disk into memory and run it.

Python interpretation system can be divided into: 2.x and 3.x

IDE

IDE (Integrated Development Environment, integrated development environment), currently There are many IDEs for Python, such as vs code, eclipse, atom, anaconda, IDEA, etc. I personally do not recommend using the above-mentioned IDEs. Of course, if you like these IDEs very much, you can. For developing Python, I only recommend pycharm and jupyter notebook.

Advantages of pycharm:

It has rich functions, prompts, fast speed, powerful bookmarks and jump functions, efficient debugging. Students can register to use the professional version for free...

Advantages of jupyter notebook:

Interactive debugging, switch Markdown and code at any time, take notes while writing code

Virtual environment

Python, like other programming languages, faces a migration problem. If you want to transfer a developed project to other computers or nodes or make the project into a docker image, you need to reconfigure the development environment and reinstall the project. It will be very troublesome to install the third-party tool packages used one by one. When we use the system environment, the packages installed by pip are all installed into the site-packages under the Python path. If the requirement.txt is generated All packages under site-packages will also be included. This is why a virtual environment is used. An independent environment can be created for different projects, which facilitates later transplantation.

Python virtual environment management tools mainly include the following two types:

virtualenv, pipenv

The above is the detailed content of What software is needed to learn python. 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 Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template