Centos 7.2 终端退出python

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

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

  1. [root@centos 7.2 ~]# python
  2. Python 2.7.5 (default,Nov 20 2015,02:00:19)
  3. [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
  4. Type "help","copyright","credits" or "license" for more information.
  5. >>>
  6. KeyboardInterrupt
  7. >>> exit()
  8. [root@centos 7.2 ~]#

猜你在找的CentOS相关文章