Advertisements
Advertisements
Question
Which of the following mode keeps the file offset position at the end of the file?
Options
r+rwa
MCQ
Advertisements
Solution
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
Is there an error in this question or solution?
