हिंदी

Which of the following mode keeps the file offset position at the end of the file? - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following mode keeps the file offset position at the end of the file?

विकल्प

  • r+
  • r
  • w
  • a
MCQ

उत्तर

a

Explanation:

The text is inserted at the end of the file using append-only mode (a). The handle appears at the end of the file when it is opened in Python's append mode.

shaalaa.com
Text File Open Modes
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Set 4

संबंधित प्रश्न

Differentiate between r+ and w+ file modes in Python.


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×