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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?