Python腳本

建立py文件,編寫腳本內容python #!/usr/bin/env python print("hello") 保存文件,並執行 發現說文件是不可執行文件,而後添加文件爲可執行文件 chmod +x 文件名.py 執行文件 ./文件名.pycode
相關文章
相關標籤/搜索