205k views
5 votes
Write a line of code that will close the file object (fileRead) (python)

1 Answer

1 vote

Answer:

To close the file object (fileRead) in Python, use the fileRead.close() command. This will close the file object, releasing any resources that it has been using.

Step-by-step explanation:

User Aguilarpgc
by
7.0k points