iT邦幫忙

0

google calendar api

請問在 google calendar api Browser Quickstart 的第三步
以下該如何在windows進行操作? 自己試了很多遍都有問題

Step 3: Run the sample
Start the web server using the following command from your working directory:
PYTHON 2.XPYTHON 3.X
python -m SimpleHTTPServer 8000
Load the URL http://localhost:8000 into your browser.

dragonH iT邦超人 5 級 ‧ 2019-06-24 13:29:56 檢舉
所以錯誤訊息是什麼呢 ?

如果你是完全照這教學走的話

先猜你沒有安裝 python
ccutmis iT邦高手 2 級 ‧ 2019-06-24 13:59:51 檢舉
我按照這邊的步驟測試是OK的:
https://developers.google.com/calendar/quickstart/python
==========================
當然你需要先自行安裝python3.7
執行"python quickstart.py"的結果是:
==========================
Getting the upcoming 10 events
2019-06-29 事件一
2019-07-01T09:43:00+08:00 事件二
...
2019-10-01T09:38:00+08:00 事件十
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答