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:
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:
#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!