English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Mention the default modes of the File.

Advertisements
Advertisements

Question

Mention the default modes of the File.

Short/Brief Note
Advertisements

Solution

The default is reading in text mode. In this mode, while reading from the file the data would be in the format of strings.
The default mode of CSV files in reading and writing is text mode.

Mode Description
Y Open a file for reading, (default)
Y Open in text mode, (default)
shaalaa.com
Read and Write a CSV File Using Python
  Is there an error in this question or solution?
Chapter 13: Python and CSV files - Evaluation [Page 266]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 13 Python and CSV files
Evaluation | Q 3. | Page 266
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×