More Related Content
Similar to MicroPython with thonny (7)
MicroPython with thonny
- 3. 正修科技大學 M0718105 涂紳騰
Thonny 整合開發環境
給初學者的Python 整合開發環境
愛沙尼亞塔爾圖大學計算機科學研究所為主要開發
於2015年 在 ITiCSE '15 發表論文
Thonny,: a Python IDE for Learning Programming
首頁:https://thonny.org/
GitHub: https://github.com/thonny/thonny
3
- 4. 正修科技大學 M0718105 涂紳騰
Thonny 功能
內建Python 3.7
變數監看視窗 (View > Variables)
無須斷點的除錯功能
語法錯誤高亮顯示
變數範圍高亮顯示
程式碼完成提示 (按tab鍵觸發)
第三方程式碼包管理工具
支援MicroPython
4
- 17. 正修科技大學 M0718105 涂紳騰
Thonny 直譯器
1. 選單 Tools > Options
2. Options視窗 > Interpreter
3. 下拉選單 >
MicroPython on a generic
device
4. 下拉選單 >
USB-SERIAL CH340 (COM #)
17
- 26. 正修科技大學 M0718105 涂紳騰
PM2.5資料過濾(利用Query string)
26
filters=SiteName eq '大寮'&fields=SiteName,County,Status,PM2.5,PublishTime
欄位名稱選擇:
測站名稱、縣市、狀態、細懸浮微粒、資料建置日期
過濾器使用:
測站名稱 等於 <地名
>
空格、單引號、中文須轉換為 URLcode
- 31. 正修科技大學 M0718105 涂紳騰
參考
學 Python 玩創客 (ISBN 978-986-312-568-6)
https://www.flag.com.tw/maker/FM610A
micropython-lib/urllib.parse
https://github.com/micropython/micropython-lib/tree/master/urllib.parse
micropython-lib/urequests
https://github.com/micropython/micropython-lib/tree/master/urequests
31