經安全檢測,此網站為安全網站,請放心前往原始網址!

python逐行讀取 - Yahoo!奇摩知識+

因為 while True 是個 無窮迴圈 所以需要 if not line: break來跳出 迴圈 意思是當讀到最後一行後就跳出 相關詞: ...

tw.knowledge.yahoo.com

網址安全性掃描由 google 提供