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

How to use python after installing it

藏色散人
Release: 2019-07-02 10:20:25
Original
19879 people have browsed it

How to use python after installing it

How to use python after installing it?

1. After python is installed, you can first start the Python interactive interpreter by typing the word python in the Windows command line window to open it. Here you can import python packages and write python statement, but 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. 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