问题
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