在Python中使用f.readlines()和f.read().splitlines()均返回一個list,區別在於f.readlines()後面會有換行符(\n),f.read().splitlines()則會自動刪除每一行後面的 ...
確定! 回上一頁