Home  >  Article  >  Backend Development  >  How to use python after it is installed

How to use python after it is installed

藏色散人
藏色散人Original
2019-10-24 09:48:083054browse

How to use python after it is installed

How to use python after it is installed?

1. After installation, 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 statements. , 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 it is installed

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

How to use python after it is installed

#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 it is installed

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 it is installed

The above is the detailed content of How to use python after it is installed. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:How to run python3Next article:How to run python3