Centos 7.2 终端退出python

前端之家收集整理的这篇文章主要介绍了Centos 7.2 终端退出python前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

[root@centos 7.2  ~]# python
Python 2.7.5 (default,Nov 20 2015,02:00:19)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help","copyright","credits" or "license" for more information.
>>>
KeyboardInterrupt
>>> exit()
[root@centos 7.2 ~]#
原文链接:https://www.f2er.com/centos/377257.html

猜你在找的CentOS相关文章