Question: python please (Also can you give a brief reason?) When we read or write a file in our programs, we want to make sure that

python please (Also can you give a brief reason?)

python please (Also can you give a brief reason?) When we read

When we read or write a file in our programs, we want to make sure that we always close the file when we're done with them. Why is this so? Mark an "X" for the answer(s) you choose. To ensure we free any operating system resources involved in keeping it open It ensures all text is read from the file A Python program will not run to completion when the file is left open Text is only written to the file when the file is closed _Without doing so, some text we write to the file may not appear in it

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!