Home > Backend Development > Python Tutorial > How to use python after installing it

How to use python after installing it

藏色散人
Release: 2019-07-04 09:53:52
Original
5556 people have browsed it

How to use python after installing it

Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.

How to use python after installing it?

1. After installation, you can first start the Python interactive interpreter by typing the word python in the Windows command line window. It can be opened. Here you can import python packages and write python statements. However, the disadvantage is that it is inconvenient to modify. You need to move the cursor to the corresponding position:

How to use python after installing it

2 , and then you can also use the IDLE integrated development environment provided by Python itself. This is a simple integrated development environment provided by Python itself, with basic IDE functions. After installation, python will display idle in the start menu, just open it directly:

How to use python after installing it

#3. It is very convenient to write Python code in idle. Enter the code directly in idle. Just hit Enter to run:

How to use python after installing it

4, or use idle to create a new Python file. It is more convenient to type code in the python file. The above is an introduction to usage after installing Python:

How to use python after installing it

Related recommendations: "Python Tutorial"

The above is the detailed content of How to use python after installing it. 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