Examveda
Examveda

How can you write data to a file in Python?

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

B. By using the save() function

C. By using the put() function

D. By using the append() method

Answer: Option A


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

Join The Discussion

Related Questions on Files Handling in Python