LittleSpring

linux命令行下

vim hello.py

 

hello.py文件中插入如下代码:

#!/use/bin/env python

print("hello,World")

执行:./hello.py 即可。

ps:执行前要给予hello.py执行权限,chmod 755 hello.py

分类:

技术点:

相关文章: