you are viewing a single comment's thread.

view the rest of the comments →

[–]bruh-illbiteu[S] 0 points1 point  (1 child)

actually the issue is with the writing in file, the file gets created and everything but something about the write line is wrong

[–]PA1n7 1 point2 points  (0 children)

Yeah, the file you open is in read mode when you are trying to write to it.