介紹如何使用 fastai 輕鬆完成圖片分類
用 Python 來讀取檔案
這次來練習怎麼讀取檔案,我們先來建立一個 txt 檔,檔案名稱就叫 ex15_sample.txt 吧,內容如下,亂打也沒差。
This is stuff I typed in to a file.It is really cool stuff.Lots and lots of fun to have in here.
將 argv 和 input 結合