How to use python after installation is complete: 1. Directly open the IDE that comes with python itself to write code; 2. Start python in the command line to write, and then press Enter; 3. Create a new one in python shell Just write a file.
How to use python?
I say important things three times: Make sure your python has been successfully installed! Make sure your python has been successfully installed! Make sure your python has been successfully installed!
After successfully installing python, we can start it, two methods
1. Start through the command line
win r shortcut key to open the search box, enter cmd, press Enter, enter python directly in the command line, and then press Enter, you can use python
You can enter code at this time to write
2. Open the IDE that comes with python and you can write code
Of course, you can also create a new file in the python shell and write it. The method is: file in the upper left corner→new file
The above is the detailed content of How to use python after installation is complete. For more information, please follow other related articles on the PHP Chinese website!