學習筆記(01):Python入門教程-用不佔內存的方式的修改文件

立即學習:https://edu.csdn.net/course/play/24459/296329?utm_source=blogtoedu 2020.02.07 Win10+Python3.8+PyCharm os.rename報錯: FileExistsError: [WinError 183] 當文件已存在時,無法創建該文件。     使用os.replace()無報錯,成功替換。
相關文章
相關標籤/搜索