PermissionError: [Errno 13] Permission denied:

故事扮演 提交于 2019-12-13 23:22:06

问题


I'm trying to write in a txt file the vertices of a spline mesh, but I get this error: PermissionError: [Errno 13] Permission denied: 'C\:Windows\system32\vt_84.txt

The code is


回答1:


Try at a different location. Since you are trying to edit a file kept at C:Windows\system32 location, you are getting this error.

also, check your path. It should be like C:\Windows\system32\vt_84.txt




回答2:


If it's an existing file, make sure that it isn't open anywhere



来源:https://stackoverflow.com/questions/30093874/permissionerror-errno-13-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!