【Python 學習筆記】文件寫入時遇到 TypeError 報錯

在一個簡單的文件寫入以後:python fileOBJ = open("text1.txt","wb") fileOBJ.write("It is just a text.\n") fileOBJ.close() 我遇到了 TypeError 類型的報錯: Traceback (most recent call last): File "text.py", line 5, in <mo
相關文章
相關標籤/搜索