ubuntu下如何实现用pyhton编hello world 程序并成功运行

已经安装python2.6.2环境gcc和scite text editor
2025-03-31 16:52:10
推荐回答(1个)
回答1:

#! /usr/bin/python

print "hello world"

在当前目录下执行,sudo chmod +x 文件名
./文件名