--- title: ch15. Python 網路連線程式、公開資料串接 By 彭彭 tags: 彭彭, 學習, 筆記 --- # 影片大綱 1. 網路連線程式,以 HTTP 通訊協定為例 1.1 使用 urllib.request 模組 1.2 使用 urlopen(網址) 連線網址 1.3 使用 read() 讀取資料 1.4 使用 decode("utf-8") 處理中文資料 1.5 使用 json 模組,解讀 json 資料格式 2. 公開資料串接 2.1 使用台北市政府公開資料 (http://data.taipei/) 2.2 搜尋並取得資料的串接網址 (API) 2.3 測試串接網址,觀察資料格式 2.4 撰寫程式,自動連線並且擷取想要的資料 3. 儲存資料到檔案中 3.1 使用寫入模式開啟檔案 3.2 使用 utf-8 編碼處理中文資料 # 影片 {%youtube sUzR3QVBKIo %} # 筆記 --- # END
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up