To leave the interactive shell and go back to the console (the system shell), press Ctrl-Z
and then Enter
on Windows, or Ctrl-D
on OS X or Linux. Alternatively, you could also run the python command exit()
.
![](https://img.haomeiwen.com/i21032798/6fcd6dee12118b6b.png)
To leave the interactive shell and go back to the console (the system shell), press Ctrl-Z
and then Enter
on Windows, or Ctrl-D
on OS X or Linux. Alternatively, you could also run the python command exit()
.
本文标题:How to exit the python interacti
本文链接:https://www.haomeiwen.com/subject/lsxwlktx.html
网友评论