-
Source: Three notebooks are downloaded from Digital Sinology, written by Prof. Donald Sturgeon. I've answered the exercises in Prof. Donald Sturgeon's notebooks. If you don't like my answers, please feel free to ignore them.
-
Binder link: Binder could build a Docker image for a given GitHub repository with a given requirements.txt, so we could share and run our notebooks in the Jupyterhub server with the same configuration and environment.
- open the Binder link
- allow the page to take some time to build the environment
- It would automatically open the repository directory with Jupyter in your browser.
- click the notebook you want to open
- run it on the server!
-
Future works: I hope I could put some of my experiments in Chinese characters in the future
-
Python Basics:
- Basic 1: string formatting, for loop, list comprehension, map, args & kargs
- Basic 2: filter, lambda, string methods, names and values, boolean values, mutation, loop
- Basic 3: regex, class, recursive
- 來源:三本在數位漢學上的 notebooks,由Donald Sturgeon教授設計撰寫。 我則回答了裡面的一些習題,當然,你可以跳過它們如果你不喜歡我的答案。
- Binder link: Binder 是一個可以將 Github repository 放到伺服器上去跑的計畫。基本上是使用 Jupyterhub 伺服器跟使用 requirements.txt 去找要去安裝哪些套件。有了這個 Binder,我們就能互相分享我們在 Github 上的 notebooks 然後使用同樣的電腦環境在伺服器上執行程式:
- 打開 Binder link
- 讓 Binder 花些時間設定環境
- 設定好,瀏覽器頁面會自動開啟到 Jupyter 環境
- 滑鼠左鍵點你要打開的 notebook
- 在伺服器上執行 notebook!