Answer:
Explanation:
In Python you need to give access to a file by opening it. You can do it by using the open() function. Open returns a file object, which has methods and attributes for getting information about and manipulating the opened file.
https://eecs.wsu.edu/~cs150/tutorial/file/code11_3.html
Look at this link it may help.