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:
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:
#3. It is very convenient to write Python code in idle. Enter the code directly in idle. Just hit Enter to run:
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:
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!