[Python] Ubuntu12.04LTS

Ubuntu 12.04LTS中缺省安装了Python2.7.3。

python -h

查看可用选项

python -V

查看Python版本

下面写个简单的测试程序:

新建HelloWorld.py,内容如下:

print("Hello World!!!")

运行

python HelloWorld.py
原文地址:https://www.cnblogs.com/southernduck/p/4591236.html