Examveda

What is the use of truncate() method in file?

A. truncates the file size

B. deletes the content of the file

C. deletes the file size

D. none of the mentioned

Answer: Option A


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

Join The Discussion

Related Questions on Files Handling in Python