A Beginner Guide to Exit Python From Windows 10 Command Prompt – Python Tutorial

By | October 12, 2020

We can edit and run python code by windows 10 command prompt, which is very useful to run short python code. However, how to exit python from command prompt? In this tutorial, we will tell your three ways.

Three ways to exit python from windows 10 command prompt

They are:

1.quit()

2.exit()

3.Ctrl + z

Here is an example:

exit python from windows command prompt

Moreover, if you plan to exit python application from python script, you can read this tutorial.

Ways to Exit or Quit a Python Script: A Completed Guide

Leave a Reply