python學習--第一個python程序helloworld

一、在windows下建立一個文件叫hello.py,並輸入 1 print('hello world') #輸出hello world 而後在解釋器中執行命令:python hello.py,輸出 php 二、在linux下執行hello.py文件的方法 直接執行./hello.py便可html PS:執行前需給予hello.py的執行權限,chmod 755 hello.py  (chmod是
相關文章
相關標籤/搜索