Permission denied error while writing to a file in Python

后端 未结 9 1884
萌比男神i
萌比男神i 2020-12-17 08:48

I want to create a file and write some integer data to it in python. For example, I have a variable abc = 3 and I am trying to write it to a file (which doesn\'t exist and I

9条回答
  •  无人及你
    2020-12-17 09:14

    Please close the file if its still open on your computer, then try running the python code. I hope it works

提交回复
热议问题