另外,關閉檔案則呼叫close()方法,如下範例: file = open("blog/readme.txt", "r") print(file.readline()) file.close() 各位可能會覺得奇怪,為什麼這 ...
確定! 回上一頁