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.
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
in the run box and press Enter
##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
The meaning at this time is: we tell python to execute the file hello.pyThe 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!