設定及使用 Raspberry Pi

先連接 WiFi

先連接 WiFi

利用 Thonny Python 編寫程式

利用 Thonny Python 編寫程式

每一次編程,也要新增一個新的檔案,檔案要以 .py 結尾

每一次編程,也要新增一個新的檔案,檔案要以 .py 結尾

現在先試一次,按 New 後,再按 Save 以建立 test.py 檔案

現在先試一次,建立 test.py 檔案

然後複製及貼上以下程式,完成後按 Run 執行,在下方 Shell 應該會出現結果 hello

test.py
print('hello')
然後輸入以上程式,完成後按 Run 執行,在下方 Shell 應該會出現結果 hello

Last updated

Was this helpful?