Centos 7.2 终端退出python

来源:互联网 发布:淘宝联盟分享赚 实操 编辑:程序博客网 时间:2024/06/08 00:46

使用 quit(), exit(), 或者Ctrl-D退出命令行

 

[root@centos 7.2  ~]# pythonPython 2.7.5 (default, Nov 20 2015, 02:00:19)[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>>KeyboardInterrupt>>> exit()[root@centos 7.2 ~]#


原创粉丝点击