Any ideas?
I tried running rhino as administrator - same result.
The error appears no matter the folder, nor the drive.
GH.Write.Text.File.With.Python.gh (4.6 KB)
Any ideas?
I tried running rhino as administrator - same result.
The error appears no matter the folder, nor the drive.
GH.Write.Text.File.With.Python.gh (4.6 KB)
You may want to checkout the System.IO.File docs. You’re creating a couple of streams but all you need is your last method: io.File.WriteAllText(x,y)
That makes no difference. I put them all because I was testing seeing what I can do with System.IO. I still get access denied if I leave just io.File.WriteAllText(x,y)
.
HAHA you got me thinking though with “You may wanna check the doc”
I was trying to access the folder with a file editing method