目录

liunx终端进入退出python命令行

目录

liunx终端进入、退出python命令行

  1. 在liunx下输入python,进入python命令行:
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)   
[GCC 4.6.1] on linux2  
Type "help", "copyright", "credits" or "license" for more information.  
>>> quit()  
gaojs@ubuntu:~$   

使用 quit(), exit(), 或者Ctrl-D退出 。