步驟一:新建文本文檔文件,修更名稱爲hello.pypython
步驟二:使用記事本打開文件,書寫程序內容以下:spa
1 print("hello python")
步驟三:打開命令行,輸入執行指令:python hello.py命令行
運行結果:屏幕顯示hello pythoncode