PermissionError: [Errno 13] Permission denied:

2019-10-21 23:24发布

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

2条回答
我只想做你的唯一
2楼-- · 2019-10-21 23:42

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

查看更多
再贱就再见
3楼-- · 2019-10-22 00:04

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

查看更多
登录 后发表回答