obj = open('data.txt', 'wb') obj.write(data) obj.close. 我收到錯誤: ... 在Python 3上, json.dump 寫入文本文件,而不是二進制文件。你會得到一個TypeError 如果 ...
確定! 回上一頁