Python笔记——从shell中退出python命令

来源:互联网 发布:linux c 服务器开发 编辑:程序博客网 时间:2024/05/18 03:41

参考网页:http://zaim.wordpress.com/2009/11/09/how-to-exit-the-python-interactive-shell-imo-the-correct-way/

从shell(终端)中退出python:

1、输入命令行:$ exit()

2、快捷键: ctrl+Z

0 0