AI POET
5/15 - Python Strings
[Code]
caesar.py
[Code]
brute_force.py
[Homework]
Variation of Caesar Cipher
[Text]
長恨歌
如果點長恨歌會看到亂碼,應該是瀏覽預設用 Big5 而非 UTF-8 顯示的緣故。解決方法,以 Google Chrome 為例,加裝一個
Set Character Encoding
的 extension, 再於文字頁面上按滑鼠右鍵選 UTF-8 即可。
[Exercise]
長恨歌密碼
[Homework]
長恨歌密碼 (加強版)
[Exercise]
A Tale of Two Cities
[Homework]
Transpose
ts300.json
5/22 Dict and Files
[Exercise]
隨機點名
[Homework]
Select a Poem
[Text]
琵琶行
[Code]
Buying Fruit with Lists
[Code]
Buying Fruit with Dicts
[Exercise]
琵琶行
[Homework]
注音
[Exercise]
英翻中
[News]
雄女校門改建
[Font]
kaiu.ttf
中文字型檔
5/29 - Webscraping
[Code]
Writing a Poem into a File
[Code]
Get a Remote File by URL
[HTML]
Example 1
[HTML]
Page 1
[HTML]
Page 2
[HTML]
Page 3
[Exercise]
Idiom of the Day
[Exercise]
White House
[HTML]
Page 4
[PDF]
Selenium
[Homework]
方文山的歌
[Homework]
YouBike
[Homework]
圖書館預約管理系統
6/5 - Text Synthesis
[Code]
newPoem.py
train.txt
[Text]
余光中
[Text]
鄭愁予
[Text]
顧城
[Text]
席慕蓉
[Homework]
藏頭詩
[Homework]
load_userdict()
[Exercise]
Post Articles