-6

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

TylerH
  • 20,799
  • 66
  • 75
  • 101
Krystel Isabel
  • 1
  • 1
  • 1
  • 1

2 Answers2

2

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

Rupesh
  • 743
  • 2
  • 9
  • 16
2

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