Google API 筆記總覽
Related Posts:
Python Error - UnicodeDecodeError: 'cp950' codec can't decode 讀檔時 UnicodeDecodeError: 'cp950' codec can't decode 老實說這非常常見,即使你的檔案是用 UTF-8 編寫,而且用 Python3 ( 絕大部分 default 是 utf-8 ),仍會報這個錯。所以要避免程式能在不同平台都能正常使用,讀檔時最好都加上 encoding="utf-8" with open("somefile.py", encoding="utf-8"… Read More
Google API - Python 學習筆記 Google API - python ver. 紀錄一些使用 python 呼叫 Google API 的心得 基本前置作業 Google Account 首先你要有 google 帳號。 Google Cloud Platform project 想要使用 Google Cloud Platform (GCP) 的 service,你需要創建一個 GCP project。左上角 pr… Read More
Python - BeautifulSoup 基本應用 (2) Navigating the tree - Going down child Tag 前一篇呼叫 Tag 底下的 subTag 是用像 class 的方式 (Tag.subTag),沒完整說明的是這個 subTag 可呼叫到的範圍並不只侷限 children Tag,而是整個 Tag 底下第一個遇到的 Tag.name == subTag。 """ html <b class="bo… Read More
Google API - Python 學習筆記 - Upload post Google Blogger API Table 其實找到好用的 Google API document 就完成 80% 了,這裡紀錄 Python 連結。再紀錄個 Google 給開發者用的 Playground,可以讓你先試試 API。 Post article 這裡紀錄程式碼模擬平常的流程,但其實可以只用 insert 就完成所有事。 New Post 新增草稿。 # Create a… Read More
Google API 筆記總覽 Python Google API - Python 學習筆記 Google API - Python 學習筆記 - Upload post … Read More
0 意見:
張貼留言