|
发表于 2010-4-13 18:47:08
|
显示全部楼层
你是要在终端打开一个类似计算的东西吗
可以执行 python
localhost:/home/hugang # python
Python 2.5.2 (r252:60911, Sep 23 2009, 16:14:22)
[GCC 4.1.2 20071124 (Rocky 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+2
3
>>> 3*2-5
1
>>> 10-(2+3)
5
>>>
ctrl+d 退出 |
|