python的hello word程序

linux系統上執行python程序

[root@python ~]# ll hello.py 

-rwxr-xr-x. 1 root root 44 Oct 24 02:38 hello.py

[root@python ~]# cat hello.py 

#!/usr/bin/env python 

print("hello world")

[root@python ~]# ./hello.py 

hello world


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章