首先第一步,開啟檔案,有兩個函式可供選擇:open() 和file() ①. f = open('file.txt','w') ... file.close() ②. f = file('file.json','r') ...
確定! 回上一頁