Open the Python interactive interpreter: enter the command directly (Windows: python or python3; macOS/Linux: python or python3); through IDLE (Windows: search in the start menu; macOS: search in the application directory; Linux: enter idle in the terminal); use an editor or IDE to open the Python script (use a text editor or IDE to open the .py file).
How to open the installed Python
Open the Python interactive interpreter directly:
python
or python3
in the Start menu or Run box. python
or python3
in the terminal window. Open the Python editor through IDLE:
idle
. Use an editor or IDE to open the Python script:
.py
extension. Specific steps:
Windows:
python
or python3
. macOS:
python
or python3
. Linux:
python
or python3
. Using IDLE:
Windows:
macOS:
Linux:
idle
. Use an editor or IDE:
.py
file to open. The above is the detailed content of How to open python after it is successfully installed?. For more information, please follow other related articles on the PHP Chinese website!