python编程---Linux python基本使用方法

                 Linux python基本使用方法

1、进入python console

andy@andy-virtual-machine:~/python_test$ python
Python 2.7.2+ (default, Oct  4 2011, 20:03:08) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 

2、退出python console

Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
andy@andy-virtual-machine:~/python_test$ python
 

猜你喜欢

转载自blog.csdn.net/yanlaifan/article/details/114709322
今日推荐