Home  >  Article  >  Backend Development  >  What is a Python terminal session?

What is a Python terminal session?

silencement
silencementOriginal
2019-05-18 13:30:3220620browse

Terminal is what Linux calls, and it is called command prompt under Windows. For all Windows systems, just press Win R on your keyboard and enter cmd in the run box to confirm.

What is a Python terminal session?

The following demonstrations demonstrate starting Python from the terminal under the windows system, and python's interactive mode and command line mode

Terminal startup Python

win r, enter cmd

What is a Python terminal session?

in the run box and press Enter

What is a Python terminal session?

What is a Python terminal session?

##The above is to start python from the terminal. At this time, enter the interactive mode of python. In the interactive mode, enter the code to run and return the result directly.

python command line mode

What is a Python terminal session?

The meaning at this time is: we tell python to execute the file hello.py

The above is the detailed content of What is a Python terminal session?. 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:What is str in PythonNext article:What is str in Python