Examveda

How can you close a file in Python?

A. By using the close() method on a file object

B. By using the end() function

C. By using the exit() method

D. By using the terminate() method

Answer: Option A


This Question Belongs to Python Program >> Files Handling In Python

Join The Discussion

Related Questions on Files Handling in Python